diff options
author | Nicolas Dechesne <nicolas.dechesne@linaro.org> | 2017-11-06 19:35:42 +0100 |
---|---|---|
committer | Nicolas Dechesne <nicolas.dechesne@linaro.org> | 2017-11-06 19:35:42 +0100 |
commit | ea2fbb7326deb063f6b5fff361871b4447085ee0 (patch) | |
tree | dc7ff9a31ca9c29f88d95ecbb883181c58fe2ce3 /trigger-lt-qcom-linux-db820c-4.11.0.yaml | |
parent | 06bb198f6cf87a8df4561b0b0d536565fcc74c90 (diff) |
trigger-lt-qcom-linux-db820c: add new trigger for 4.11 rel branch
This branch is used for DB820c images.
Change-Id: I22e236cffbd4a20a4fd069eccf9acf7db168ee7e
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Diffstat (limited to 'trigger-lt-qcom-linux-db820c-4.11.0.yaml')
-rw-r--r-- | trigger-lt-qcom-linux-db820c-4.11.0.yaml | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/trigger-lt-qcom-linux-db820c-4.11.0.yaml b/trigger-lt-qcom-linux-db820c-4.11.0.yaml new file mode 100644 index 0000000000..5574bda9a7 --- /dev/null +++ b/trigger-lt-qcom-linux-db820c-4.11.0.yaml @@ -0,0 +1,53 @@ +- job: + name: trigger-lt-qcom-linux-db820c-4.11.0 + project-type: freestyle + defaults: global + logrotate: + daysToKeep: 30 + numToKeep: 30 + properties: + - authorization: + anonymous: + - job-read + - job-extended-read + - job-workspace + linaro-landing-team-qualcomm-personnel: + - job-build + - job-cancel + disabled: false + node: build + display-name: 'Trigger for QCOM LT kernel DB820c 4.11 branch' + scm: + - git: + url: https://git.linaro.org/git/landing-teams/working/qualcomm/kernel.git + refspec: +refs/heads/release/*:refs/remotes/origin/release/* + name: origin + branches: + - refs/heads/release/db820c/qcomlt-4.11 + skip-tag: true + shallow-clone: false + wipe-workspace: false + triggers: + - pollscm: 'H/5 * * * *' + wrappers: + - timestamps + - build-name: + name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' + builders: + - shell: | + #!/bin/bash -e + + # bring in stable and mainline tags + git fetch --tags https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux.git + git fetch --tags https://kernel.googlesource.com/pub/scm/linux/kernel/git/stable/linux-stable.git + + echo KERNEL_VERSION=$(make kernelversion) > qcomlt_parameters + echo KERNEL_DESCRIBE=$(git describe --always) >> qcomlt_parameters + echo KERNEL_BRANCH=$(echo ${GIT_BRANCH} | sed 's|origin/||') >> qcomlt_parameters + cat qcomlt_parameters + publishers: + - trigger-parameterized-builds: + - project: + - 'lt-qcom-linux' + condition: SUCCESS + property-file: qcomlt_parameters |