diff options
author | Theodore Grey <theodore.grey@linaro.org> | 2019-06-17 11:35:11 +0100 |
---|---|---|
committer | Milosz Wasilewski <milosz.wasilewski@linaro.org> | 2019-06-19 15:20:50 +0000 |
commit | 8cbe5cdfc741ccf03bc19df089ffc1d938529d28 (patch) | |
tree | 97d0d3e919f65c02dc5854b0767a17f3c076bd89 /armnn-ci-build.yaml | |
parent | 77b9e76de415efb66bb7650d4da75a737615bf19 (diff) |
armnn-ci-build: add fix for LAVA job submission
Change-Id: I81aeb81c749090021a5cac0571728ddca41361e8
Diffstat (limited to 'armnn-ci-build.yaml')
-rw-r--r-- | armnn-ci-build.yaml | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/armnn-ci-build.yaml b/armnn-ci-build.yaml index 151f3809..6a272c78 100644 --- a/armnn-ci-build.yaml +++ b/armnn-ci-build.yaml @@ -31,9 +31,16 @@ builders: - shell: !include-raw: armnn-ci-build/builders.sh + - shell: | + #!/bin/bash -e + GIT_COMMIT=$(git rev-parse --short=8 HEAD) + echo "DEVICE_TYPE=${DEVICE_TYPE}" > device_type_parameters + echo "#${BUILD_NUMBER}-${GIT_COMMIT}" > ${WORKSPACE}/version.txt - build-name-setter: - template: '#${BUILD_NUMBER}-${GIT_COMMIT_ID}' - macro: true + name: 'version.txt' + file: true + - inject: + properties-file: device_type_parameters - linaro-publish-token - shell: | #!/bin/bash @@ -61,5 +68,4 @@ --qa-server-team staging-lkft \ --qa-server-project armnn-ci-build \ --lava-server ${LAVA_SERVER} \ - --git-commit ${GIT_COMMIT_ID} \ - --template-names armnn-template.yaml
\ No newline at end of file + --git-commit ${GIT_COMMIT} |