aboutsummaryrefslogtreecommitdiff
path: root/tcwg-buildfarm.yaml
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@linaro.org>2016-05-12 15:54:49 +0200
committerChristophe Lyon <christophe.lyon@linaro.org>2016-05-13 13:03:58 +0000
commit575710970405db5db6288cc83f402653ab86a32f (patch)
tree6ee197c1c3838b9d5e8a46e60b13cad2a415dc75 /tcwg-buildfarm.yaml
parent53ecbc742293d90f458571af61ac8591a88bea14 (diff)
tcwg-buildfarm, tcwg-backport: replace gcc_branch with override.
This was experimented with in tcwg-bkk16-buildfarm, and enables to override the binutils and libc versions. This is necessary to prepare support for choosing the binutils/libc version depending on the gcc branch. Change-Id: Idb866a29456f9d042d6a892c48bfa94a4b569444
Diffstat (limited to 'tcwg-buildfarm.yaml')
-rw-r--r--tcwg-buildfarm.yaml10
1 files changed, 5 insertions, 5 deletions
diff --git a/tcwg-buildfarm.yaml b/tcwg-buildfarm.yaml
index 79f8415c8a..5bbc41180e 100644
--- a/tcwg-buildfarm.yaml
+++ b/tcwg-buildfarm.yaml
@@ -15,9 +15,9 @@
- job-cancel
parameters:
- string:
- name: gcc_branch
- default: 'latest'
- description: 'GCC revision to build'
+ name: override
+ default: ''
+ description: 'Versions of components to build; e.g. binutils=binutils-gdb.git/linaro_binutils-2_25-branch gcc=gcc.git~linaro/gcc-5-branch glibc=glibc.git~release/2.21/master'
- string:
name: host_x86_64_languages
default: 'default'
@@ -114,7 +114,7 @@
users:
- 'e0958a95-204f-4c14-a66c-5e2be6c5d50a'
- build-name:
- name: '#${BUILD_NUMBER}-${ENV,var="gcc_branch"}'
+ name: '#${BUILD_NUMBER}'
builders:
- shell: |
#!/bin/bash
@@ -214,7 +214,7 @@
trap "{ schroot -f -e -c session:$session_id || { sleep 60 ; schroot -f -e -c session:$session_id; } || true; }" 0
result="0"
- ${BUILD_SHELL} -x ./jenkins.sh --target ${target} --gcc-branch ${gcc_branch} --languages ${languages} $bootstrap $runtests_opt $excludecheck_opt ${extraconfig_opt} --fileserver ex40-01.tcwglab.linaro.org/snapshots-ref --logserver $log_server $logname_opt $norebuild || result=$?
+ ${BUILD_SHELL} -x ./jenkins.sh --target ${target} --override "$override" --languages ${languages} $bootstrap $runtests_opt $excludecheck_opt ${extraconfig_opt} --fileserver ex40-01.tcwglab.linaro.org/snapshots-ref --logserver $log_server $logname_opt $norebuild || result=$?
echo "Result of jenkins.sh: $result"
if $dont_fail; then