summaryrefslogtreecommitdiffstats
path: root/jjb/compass4nfv/opnfv-compass4nfv.yml
diff options
context:
space:
mode:
authorJun Li <matthew.lijun@huawei.com>2015-12-08 11:31:51 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2015-12-08 11:31:51 +0000
commit4f89c491753a12700717c4081b0e1534d25e3cd4 (patch)
tree45ee884182011258ede58762f9c057d1f1f09953 /jjb/compass4nfv/opnfv-compass4nfv.yml
parenta65450ebdbf3d929c79bfe55e2363bdd66b127e1 (diff)
parent55ef51bceadfdc99f53e42992d7bc742395761ab (diff)
Merge "Add installer and pod parameter files and create example jobs"
Diffstat (limited to 'jjb/compass4nfv/opnfv-compass4nfv.yml')
-rw-r--r--jjb/compass4nfv/opnfv-compass4nfv.yml84
1 files changed, 84 insertions, 0 deletions
diff --git a/jjb/compass4nfv/opnfv-compass4nfv.yml b/jjb/compass4nfv/opnfv-compass4nfv.yml
new file mode 100644
index 000000000..0ae89dad3
--- /dev/null
+++ b/jjb/compass4nfv/opnfv-compass4nfv.yml
@@ -0,0 +1,84 @@
+########################
+# Job configuration for compass4nfv
+########################
+- project:
+
+ name: 'opnfv-compass4nfv'
+
+ installer: 'compass4nfv'
+
+ controller:
+ - 'opencontrail'
+ - 'opendaylight'
+ - 'onos'
+
+ pod: 'huawei-sc-pod1'
+
+ stream:
+ - master:
+ branch: 'master'
+ gs-pathname: ''
+
+ jobs:
+ - 'opnfv-compass4nfv-{controller}-daily-{stream}'
+ - 'opnfv-compass4nfv-daily-deploy-{stream}'
+
+########################
+# job templates
+########################
+- job-template:
+ name: 'opnfv-compass4nfv-{controller}-daily-{stream}'
+
+ disabled: true
+
+ concurrent: false
+
+ parameters:
+ - project-parameter:
+ project: '{installer}'
+ - '{pod}-defaults'
+ - '{installer}-defaults':
+ controller: '{controller}'
+
+ scm:
+ - git-scm:
+ credentials-id: '{ssh-credentials}'
+ refspec: ''
+ branch: '{branch}'
+
+ builders:
+ - trigger-builds:
+ - project: 'opnfv-compass4nfv-daily-deploy-{stream}'
+ git-revision: true
+ block: true
+ predefined-parameters:
+ CONTROLLER='{controller}'
+
+- job-template:
+ name: 'opnfv-compass4nfv-daily-deploy-{stream}'
+
+ disabled: true
+
+ concurrent: false
+
+ wrappers:
+ - build-name:
+ name: '$BUILD_NUMBER: {installer} $CONTROLLER'
+
+ parameters:
+ - project-parameter:
+ project: '{installer}'
+ - '{pod}-defaults'
+ - '{installer}-defaults'
+
+ scm:
+ - git-scm:
+ credentials-id: '{ssh-credentials}'
+ refspec: ''
+ branch: '{branch}'
+
+ builders:
+ - shell: |
+ #!/bin/bash
+ echo "Hello World from OPNFV $INSTALLER_NAME"
+ echo "Running $INSTALLER_NAME with controller $CONTROLLER"