summaryrefslogtreecommitdiffstats
path: root/jjb/puppet-fdio/puppet-fdio.yaml
diff options
context:
space:
mode:
authorFeng Pan <fpan@redhat.com>2016-11-09 23:46:52 -0500
committerFeng Pan <fpan@redhat.com>2016-11-09 23:46:52 -0500
commita44edcbd7202737427e3d4d566d8648f67731931 (patch)
treeaa473cbc0ea4fe2cd4ea8853720a9b307a5a5430 /jjb/puppet-fdio/puppet-fdio.yaml
parent7098d9b9a5d3fce2621cf2d83679c49060012297 (diff)
Add jjb for puppet-fdio
Change-Id: Iec23c6494fb71540f6b71728170f2c0fe313d912 Signed-off-by: Feng Pan <fpan@redhat.com>
Diffstat (limited to 'jjb/puppet-fdio/puppet-fdio.yaml')
-rw-r--r--jjb/puppet-fdio/puppet-fdio.yaml59
1 files changed, 59 insertions, 0 deletions
diff --git a/jjb/puppet-fdio/puppet-fdio.yaml b/jjb/puppet-fdio/puppet-fdio.yaml
new file mode 100644
index 000000000..fc4bc79a6
--- /dev/null
+++ b/jjb/puppet-fdio/puppet-fdio.yaml
@@ -0,0 +1,59 @@
+- project:
+ name: puppet-fdio
+ jobs:
+ - 'puppet-fdio-verify-{stream}-{os}'
+
+ project: 'puppet-fdio'
+ os:
+ - centos7:
+ repo-os-part: 'centos7'
+ stream:
+ - master:
+ branch: 'master'
+ repo-stream-part: 'master'
+
+- job-template:
+ name: 'puppet-fdio-verify-{stream}-{os}'
+
+ project-type: freestyle
+ node: 'verify-{os}'
+ concurrent: true
+
+ 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}'
+ - os-parameter:
+ os: '{os}'
+ - repo-name-parameter:
+ repo-name: '{repo-stream-part}.{repo-os-part}'
+
+ scm:
+ - gerrit-trigger-scm:
+ credentials-id: 'jenkins-gerrit-credentials'
+ refspec: '$GERRIT_REFSPEC'
+ choosing-strategy: 'gerrit'
+
+ wrappers:
+ - fdio-infra-wrappers:
+ build-timeout: '{build-timeout}'
+
+ triggers:
+ - gerrit-trigger-patch-submitted:
+ name: '{project}'
+ branch: '{branch}'
+
+ builders:
+ - shell:
+ !include-raw-escape:
+ - include-raw-prepare-node.sh
+ - shell:
+ !include-raw-escape:
+ - include-raw-puppet-fdio-unit.sh