diff options
author | Christophe Lyon <christophe.lyon@linaro.org> | 2023-08-14 16:30:21 +0000 |
---|---|---|
committer | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2023-08-15 07:50:10 +0000 |
commit | 8f98ebe8af8024c33dce1a91dea284a90a1b0cc3 (patch) | |
tree | 9c1e5726fe16abcae292452de1c00300ca49bd79 /tcwg_aosp-build.yaml | |
parent | 39a779d26d06adc23b646a91b2ab73e4660caccf (diff) |
tcwg/round-robin.yaml.inc: Remove 'origin/' prefix from $GIT_BRANCH_$i
Jenkins expands $GIT_BRANCH_$i into origin/master, but when we want to
fetch the corresponding refs we don't want the origin/ prefix.
Change-Id: I75bdcf428f581d1f41852f84f3bb9421d38d5b06
Diffstat (limited to 'tcwg_aosp-build.yaml')
-rw-r--r-- | tcwg_aosp-build.yaml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tcwg_aosp-build.yaml b/tcwg_aosp-build.yaml index 8b012af81a..a3e0128bdf 100644 --- a/tcwg_aosp-build.yaml +++ b/tcwg_aosp-build.yaml @@ -484,7 +484,9 @@ fi fi if [ x"$g" = x"jenkins-scm" ]; then - eval "g=\$GIT_URL_$i#\$GIT_BRANCH_$i" + eval "gb=\$GIT_BRANCH_$i" + gb=$(echo $gb | sed 's+origin/++') + eval "g=\$GIT_URL_$i#$gb" fi i=$(($i+1)) @@ -876,4 +878,4 @@ rr_project: '{ci_project}--{ci_config}' publishers: - bisect-publishers -# checksum: fea58834d7e0efe0195a9a1b82cb7361 +# checksum: b19964ef5fa4187118594290edd84320 |