aboutsummaryrefslogtreecommitdiff
path: root/tcwg-regression-detection.yaml
diff options
context:
space:
mode:
authorThomas Preud'homme <thomas.preudhomme@linaro.org>2018-08-31 22:05:00 +0100
committerThomas Preudhomme <thomas.preudhomme@linaro.org>2018-09-14 14:54:58 +0000
commita14d7b1e7d31ffbc1375b34861d0480eb533c13f (patch)
tree6218da8f0b7f1e5672182e364beccfd04ff69b85 /tcwg-regression-detection.yaml
parent925a5027e7236fc987fd2fc3c9ab4423f17f2dfb (diff)
Trigger tcwg-llvm-release job if scripts change
Trigger tcwg-llvm-release job if any of the scripts this job use changes. The trigger hardcode the LLVM version to build in order to only test the changes in the scripts in isolation. Depends-On: Ia01a877b62457b462e718ec8019bc8374dad6e5a Change-Id: Ia531082ee73cddf8720711b39b3053712626f81a
Diffstat (limited to 'tcwg-regression-detection.yaml')
-rw-r--r--tcwg-regression-detection.yaml24
1 files changed, 21 insertions, 3 deletions
diff --git a/tcwg-regression-detection.yaml b/tcwg-regression-detection.yaml
index 097fc4bb..2f5a43c9 100644
--- a/tcwg-regression-detection.yaml
+++ b/tcwg-regression-detection.yaml
@@ -175,7 +175,7 @@
# not spawn tcwg-test-release itself. This is taken care
# of by tcwg-make-and-test-release.
# keep 6.2-2016.11 regtest tag until we make one for 7.1
- cat << EOF > make_release_parameters
+ cat << EOF > make_test_release_parameters
gcc_src=http://releases.linaro.org/components/toolchain/gcc-linaro/7.2-2017.11/gcc-linaro-7.2-2017.11.tar.xz
release_name=2017.11-regtest-${BUILD_NUMBER}
toolchain_config=gcc7
@@ -188,7 +188,18 @@
EOF
echo "NOTE: Make-release job parameters:"
- cat make_release_parameters
+ cat make_test_release_parameters
+
+ rm -f llvm_release_parameters
+ if ! git --git-dir=jenkins-scripts/.git diff --exit-code --name-only \
+ GIT_PREVIOUS_COMMIT_3 GIT_COMMIT_3 -- \
+ start-container-docker.sh build-container.sh tcwg-llvm-release.sh; then
+ cat << EOF > llvm_release_parameters
+ release=6.0.0
+ candidate=final
+ build_container_tag=$distro
+ EOF
+ fi
- multijob:
name: 'Check Manifest'
condition: ALWAYS
@@ -205,9 +216,16 @@
- name: tcwg-dev-build
property-file: dev_build_parameters
- name: tcwg-make-and-test-release
- property-file: make_release_parameters
+ property-file: make_test_release_parameters
predefined-parameters: |
target_list='arm-linux-gnueabihf'
+ - trigger-builds:
+ - project: tcwg-llvm-release
+ predefined-parameters: |
+ target_list='arm-linux-gnueabihf'
+ parameter-factories:
+ - factory: filebuild
+ file-pattern: llvm_release_parameters
publishers:
- archive:
artifacts: 'artifacts/*'