aboutsummaryrefslogtreecommitdiff
path: root/trigger-lkft-linux-clang-stable.yaml
diff options
context:
space:
mode:
authorDaniel Díaz <daniel.diaz@linaro.org>2018-06-29 18:48:23 -0500
committerDaniel Díaz <daniel.diaz@linaro.org>2018-07-03 22:42:06 +0000
commit4164009f1165adcde324776e61640273ec2fdbca (patch)
tree26c6149fdeb9c924df24ce6c4f71b3780761302a /trigger-lkft-linux-clang-stable.yaml
parentd5c65ee40e6bdc95fcd9ab084c8551565ff33337 (diff)
downloadconfigs-4164009f1165adcde324776e61640273ec2fdbca.tar.gz
lkft-linux-clang: add new job and triggers for mainline/stable
Change-Id: I26f587c54f8613efd13a1390131870cc8e0c9381 Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Diffstat (limited to 'trigger-lkft-linux-clang-stable.yaml')
-rw-r--r--trigger-lkft-linux-clang-stable.yaml50
1 files changed, 50 insertions, 0 deletions
diff --git a/trigger-lkft-linux-clang-stable.yaml b/trigger-lkft-linux-clang-stable.yaml
new file mode 100644
index 000000000..e52e079f9
--- /dev/null
+++ b/trigger-lkft-linux-clang-stable.yaml
@@ -0,0 +1,50 @@
+- job:
+ name: trigger-lkft-linux-clang-stable
+ project-type: freestyle
+ defaults: global
+ logrotate:
+ daysToKeep: 60
+ numToKeep: 300
+ properties:
+ - authorization:
+ anonymous:
+ - job-read
+ - job-extended-read
+ parameters:
+ - string:
+ name: KERNEL_BRANCH
+ default: 'linux-4.17.y'
+ disabled: false
+ node: master
+ display-name: 'Trigger for LKFT - Linux Kernel with Clang 4.17'
+ scm:
+ - git:
+ url: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
+ refspec: +refs/heads/${KERNEL_BRANCH}:refs/remotes/linux-stable/${KERNEL_BRANCH}
+ name: linux-stable
+ branches:
+ - linux-stable/${KERNEL_BRANCH}
+ 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
+ git clean -fdx
+ echo KERNEL_GITREF=linux-stable/${KERNEL_BRANCH} > lkft_parameters
+ echo KERNEL_DESCRIBE=$(git describe --always) >> lkft_parameters
+ echo GIT_COMMIT=${GIT_COMMIT} >> lkft_parameters
+ echo MAKE_KERNELVERSION=$(make kernelversion) >> lkft_parameters
+ cat lkft_parameters
+ publishers:
+ - trigger-parameterized-builds:
+ - project:
+ - 'lkft-linux-clang'
+ condition: SUCCESS
+ property-file: lkft_parameters