aboutsummaryrefslogtreecommitdiff
path: root/trigger-linux-stable.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'trigger-linux-stable.yaml')
-rw-r--r--trigger-linux-stable.yaml51
1 files changed, 51 insertions, 0 deletions
diff --git a/trigger-linux-stable.yaml b/trigger-linux-stable.yaml
new file mode 100644
index 0000000..46652c6
--- /dev/null
+++ b/trigger-linux-stable.yaml
@@ -0,0 +1,51 @@
+- job:
+ name: trigger-linux-stable
+ project-type: freestyle
+ defaults: global
+ logrotate:
+ daysToKeep: 30
+ numToKeep: 30
+ properties:
+ - authorization:
+ anonymous:
+ - job-read
+ disabled: false
+ node: build
+ display-name: 'Trigger for Linux Stable Kernel (linux-3.14.y)'
+ scm:
+ - git:
+ url: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
+ refspec: +refs/heads/linux-3.14.y:refs/remotes/origin/linux-3.14.y
+ name: origin
+ branches:
+ - origin/linux-3.14.y
+ 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
+ }
+
+ echo -n "defconfig_list=" > defconfig.properties
+
+ wget https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tree/arch/arm/configs?h=linux-3.14.y -O configs
+ cut -d'>' -f6 configs | cut -d'<' -f1 | grep defconfig | tr -s "\n" " " | sed 's/_defconfig//g' >> defconfig.properties
+
+ wget https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tree/arch/arm64/configs?h=linux-3.14.y -O configs
+ cut -d'>' -f6 configs | cut -d'<' -f1 | grep defconfig | tr -s "\n" " " | sed 's/_defconfig//g' >> defconfig.properties
+ - trigger-builds:
+ - project: 'linux-stable'
+ property-file: defconfig.properties