diff options
author | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2017-04-28 06:46:38 +0000 |
---|---|---|
committer | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2017-04-28 07:01:27 +0000 |
commit | bf33609d8a5cd5aa160799db28e2a9f050244484 (patch) | |
tree | 70975ee70afaf84c86a3e3f2140de42a288ae7d2 /tcwg-abe-tested.yaml | |
parent | 81945f0bbd148d4d760e464650ccd2edcf4596cb (diff) |
tcwg-abe-tested: Improve, and handle ABE revision explicitly
Change-Id: I72b2665e6979490bb86420eed5f2fdd1d5c2e641
Diffstat (limited to 'tcwg-abe-tested.yaml')
-rw-r--r-- | tcwg-abe-tested.yaml | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/tcwg-abe-tested.yaml b/tcwg-abe-tested.yaml index b4e52c53..fe955e87 100644 --- a/tcwg-abe-tested.yaml +++ b/tcwg-abe-tested.yaml @@ -39,11 +39,23 @@ users: - 'e0958a95-204f-4c14-a66c-5e2be6c5d50a' builders: - - multijob: - name: 'ABE extended tests' - condition: SUCCESSFUL - projects: - - name: tcwg-abe-extended + - shell: | + #!/bin/bash + + set -ex + + if ! no_tests_just_update_tested; then + echo "abe_branch=$GIT_REVISION" > params + fi + - conditional-step: + condition-kind: file-exists + condition-filename: params + steps: + - multijob: + name: 'ABE extended tests' + condition: SUCCESSFUL + projects: + - name: tcwg-abe-extended - shell: | #!/bin/bash @@ -54,4 +66,4 @@ git remote rm gerrit fi git remote add gerrit ssh://tcwg-buildslave@review.linaro.org:29418/toolchain/abe - git push gerrit origin/master:tested + git push gerrit $GIT_REVISION:tested |