summaryrefslogtreecommitdiffstats
path: root/jjb/toolchain_test/toolchain_test-custom.yaml
diff options
context:
space:
mode:
authorAndrew Grimberg <agrimberg@linuxfoundation.org>2015-11-24 12:20:17 -0800
committerAndrew Grimberg <agrimberg@linuxfoundation.org>2015-11-24 12:20:17 -0800
commit63bb52a37a827cad318b1b1f8dd1ab2d2c4fdf10 (patch)
tree63399e3efcd7128a405f4ce09bd99f51c5753fe8 /jjb/toolchain_test/toolchain_test-custom.yaml
parent906eba932b9f097cc91319071bcde92f1c03701f (diff)
Example jobs for toolchain_test project
Change-Id: I33fb03d605f552194f74b3e5cc37c1ae6e7b0967 Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
Diffstat (limited to 'jjb/toolchain_test/toolchain_test-custom.yaml')
-rw-r--r--jjb/toolchain_test/toolchain_test-custom.yaml82
1 files changed, 82 insertions, 0 deletions
diff --git a/jjb/toolchain_test/toolchain_test-custom.yaml b/jjb/toolchain_test/toolchain_test-custom.yaml
new file mode 100644
index 000000000..e86a30234
--- /dev/null
+++ b/jjb/toolchain_test/toolchain_test-custom.yaml
@@ -0,0 +1,82 @@
+- project:
+ name: toolchain_test
+ jobs:
+ - 'toolchain_test-verify'
+ - 'toolchain_test-merge'
+
+ project: 'toolchain_test'
+ branch: 'master'
+
+- job-template:
+ name: toolchain_test-verify
+
+ project-type: freestyle
+
+ logrotate:
+ daysToKeep: '{build-days-to-keep}'
+ numToKeep: '{build-num-to-keep}'
+ artifactDaysToKeep: '{build-artifact-days-to-keep}'
+ artifactNumToKeep: '{build-artifact-num-to-keep}'
+
+ parameters:
+ - project-parameter:
+ project: '{project}'
+ - gerrit-parameter:
+ branch: '{branch}'
+
+ scm:
+ - gerrit-trigger-scm:
+ credentials-id: '{ssh-credentials}'
+ refspec: '$GERRIT_REFSPEC'
+ choosing-strategy: 'gerrit'
+
+ wrappers:
+ - ssh-agent-credentials:
+ users:
+ - '{ssh-credentials}'
+
+ triggers:
+ - gerrit-trigger-patch-submitted:
+ name: '{project}'
+ branch: '{branch}'
+
+ builders:
+ - shell:
+ !include-raw-escape include-raw-toolchain_test-build.sh
+
+- job-template:
+ name: toolchain_test-merge
+
+ project-type: freestyle
+
+ logrotate:
+ daysToKeep: '{build-days-to-keep}'
+ numToKeep: '{build-num-to-keep}'
+ artifactDaysToKeep: '{build-artifact-days-to-keep}'
+ artifactNumToKeep: '{build-artifact-num-to-keep}'
+
+ parameters:
+ - project-parameter:
+ project: '{project}'
+ - gerrit-parameter:
+ branch: '{branch}'
+
+ scm:
+ - gerrit-trigger-scm:
+ credentials-id: '{ssh-credentials}'
+ refspec: ''
+ choosing-strategy: 'default'
+
+ wrappers:
+ - ssh-agent-credentials:
+ users:
+ - '{ssh-credentials}'
+
+ triggers:
+ - gerrit-trigger-patch-submitted:
+ name: '{project}'
+ branch: '{branch}'
+
+ builders:
+ - shell:
+ !include-raw-escape include-raw-toolchain_test-build.sh