diff options
author | Yvan Roux <yvan.roux@linaro.org> | 2017-04-20 00:28:51 +0200 |
---|---|---|
committer | Yvan Roux <yvan.roux@linaro.org> | 2017-04-19 22:30:02 +0000 |
commit | 2e88998d2a78e1a3c91e7184fa2053a99602e863 (patch) | |
tree | 01750861a35da2463480d9ac2dfe98acc631d4ef /tcwg-make-gcc-release-tag.yaml | |
parent | 8266377a3ed294286c47b7540e4b0eac6cf49c50 (diff) |
tcwg-make-gcc-release-tag: Change scm handling.
Change-Id: I610eefe2e308898e088aa3703406bea6353f6f64
Diffstat (limited to 'tcwg-make-gcc-release-tag.yaml')
-rw-r--r-- | tcwg-make-gcc-release-tag.yaml | 47 |
1 files changed, 15 insertions, 32 deletions
diff --git a/tcwg-make-gcc-release-tag.yaml b/tcwg-make-gcc-release-tag.yaml index 0594f4f0..270797d2 100644 --- a/tcwg-make-gcc-release-tag.yaml +++ b/tcwg-make-gcc-release-tag.yaml @@ -1,33 +1,3 @@ -- scm: - name: gcc - scm: - - git: - url: https://git-us.linaro.org/toolchain/gcc.git - refspec: +refs/heads/*:refs/remotes/origin/* - branches: - - refs/heads/master - basedir: gcc_src - scm-name: GCC - skip-tag: false - wipe-workspace: false - reference-repo: /home/tcwg-buildslave/snapshots-ref/gcc.git - clean: - before: true -- scm: - name: tcwg-release-tools - scm: - - git: - url: https://git-us.linaro.org/toolchain/tcwg-release-tools.git - refspec: +refs/heads/*:refs/remotes/origin/* - branches: - - refs/heads/automation - basedir: tcwg-release-tools - scm-name: tcwg-release-tools - skip-tag: true - wipe-workspace: false - reference-repo: /home/tcwg-buildslave/snapshots-ref/tcwg-release-tools.git - clean: - before: true - job: name: tcwg-make-gcc-release-tag project-type: freestyle @@ -69,8 +39,18 @@ concurrent: true display-name: 'TCWG Tag GCC Sources' scm: - - gcc - - tcwg-release-tools + - git: + url: https://git-us.linaro.org/toolchain/gcc.git + refspec: +refs/heads/*:refs/remotes/origin/* + branches: + - refs/heads/master + basedir: gcc_src + scm-name: GCC + skip-tag: false + wipe-workspace: false + reference-repo: /home/tcwg-buildslave/snapshots-ref/gcc.git + clean: + before: true execution-strategy: sequential: true wrappers: @@ -84,6 +64,9 @@ #!/bin/bash set -ex + rm -rf tcwg-release-tools + git clone -b automation --depth 1 https://git-us.linaro.org/toolchain/tcwg-release-tools + pushd gcc_src git config --global user.name "TCWG Buildslave" |