summaryrefslogtreecommitdiffstats
path: root/jjb/fuel
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/fuel
parenta65450ebdbf3d929c79bfe55e2363bdd66b127e1 (diff)
parent55ef51bceadfdc99f53e42992d7bc742395761ab (diff)
Merge "Add installer and pod parameter files and create example jobs"
Diffstat (limited to 'jjb/fuel')
-rw-r--r--jjb/fuel/opnfv-fuel.yml85
1 files changed, 85 insertions, 0 deletions
diff --git a/jjb/fuel/opnfv-fuel.yml b/jjb/fuel/opnfv-fuel.yml
new file mode 100644
index 000000000..92bd96b87
--- /dev/null
+++ b/jjb/fuel/opnfv-fuel.yml
@@ -0,0 +1,85 @@
+########################
+# Job configuration for fuel
+########################
+- project:
+
+ name: 'opnfv-fuel'
+
+ installer: 'fuel'
+
+ controller:
+ - 'opencontrail'
+ - 'opendaylight'
+ - 'onos'
+
+ pod: 'lf-pod2'
+
+ stream:
+ - master:
+ branch: 'master'
+ gs-pathname: ''
+
+ jobs:
+ - 'opnfv-fuel-{controller}-daily-{stream}'
+ - 'opnfv-fuel-daily-deploy-{stream}'
+
+########################
+# job templates
+########################
+- job-template:
+ name: 'opnfv-fuel-{controller}-daily-{stream}'
+
+ disabled: true
+
+ concurrent: false
+
+ node: ericsson-build
+
+ parameters:
+ - project-parameter:
+ project: '{installer}'
+ - '{installer}-defaults':
+ controller: '{controller}'
+
+ scm:
+ - git-scm:
+ credentials-id: '{ssh-credentials}'
+ refspec: ''
+ branch: '{branch}'
+
+ builders:
+ - trigger-builds:
+ - project: 'opnfv-fuel-daily-deploy-{stream}'
+ git-revision: true
+ block: true
+ predefined-parameters:
+ CONTROLLER='{controller}'
+
+- job-template:
+ name: 'opnfv-fuel-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"