aboutsummaryrefslogtreecommitdiff
path: root/trigger-linux-mainline.yaml
diff options
context:
space:
mode:
authorFathi Boudra <fathi.boudra@linaro.org>2014-09-08 11:16:20 +0300
committerFathi Boudra <fathi.boudra@linaro.org>2014-09-08 11:16:20 +0300
commitd31890545f0fec1d6c3c8e3471ccdc9c23771d28 (patch)
treec67f4f0440295ed2c799715357271aa49e74c7c1 /trigger-linux-mainline.yaml
parent1373c3d67a55bf6485e4001c4b79797be9358838 (diff)
Add trigger-linux-mainline job
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Diffstat (limited to 'trigger-linux-mainline.yaml')
-rw-r--r--trigger-linux-mainline.yaml47
1 files changed, 47 insertions, 0 deletions
diff --git a/trigger-linux-mainline.yaml b/trigger-linux-mainline.yaml
new file mode 100644
index 0000000000..bd8197177c
--- /dev/null
+++ b/trigger-linux-mainline.yaml
@@ -0,0 +1,47 @@
+- job:
+ name: trigger-linux-mainline
+ project-type: freestyle
+ defaults: global
+ logrotate:
+ daysToKeep: 30
+ numToKeep: 30
+ properties:
+ - authorization:
+ anonymous:
+ - job-read
+ disabled: false
+ node: build
+ display-name: 'Trigger for Linux Mainline Kernel (master)'
+ scm:
+ - git:
+ url: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
+ refspec: +refs/heads/master:refs/remotes/origin/master
+ name: origin
+ branches:
+ - origin/master
+ skip-tag: true
+ shallow-clone: true
+ wipe-workspace: false
+ triggers:
+ - pollscm: 'H/5 * * * *'
+ wrappers:
+ - timestamps
+ - build-name:
+ name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}'
+ builders:
+ - shell: |
+ #!/bin/bash
+
+ trap cleanup_exit INT TERM EXIT
+
+ cleanup_exit()
+ {
+ exit 0
+ }
+
+ wget https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/arch/arm/configs -O configs
+ echo -n "defconfig_list=" > defconfig.properties
+ cut -d'>' -f6 configs | cut -d'<' -f1 | grep defconfig | tr -s "\n" " " | sed 's/_defconfig//g' >> defconfig.properties
+ - trigger-builds:
+ - project: 'linux-mainline'
+ property-file: defconfig.properties