aboutsummaryrefslogtreecommitdiff
path: root/trigger-linux-mainline.yaml
diff options
context:
space:
mode:
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