diff options
author | Jun Li <matthew.lijun@huawei.com> | 2015-12-08 11:31:51 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2015-12-08 11:31:51 +0000 |
commit | 4f89c491753a12700717c4081b0e1534d25e3cd4 (patch) | |
tree | 45ee884182011258ede58762f9c057d1f1f09953 /jjb/joid | |
parent | a65450ebdbf3d929c79bfe55e2363bdd66b127e1 (diff) | |
parent | 55ef51bceadfdc99f53e42992d7bc742395761ab (diff) |
Merge "Add installer and pod parameter files and create example jobs"
Diffstat (limited to 'jjb/joid')
-rw-r--r-- | jjb/joid/opnfv-joid.yml | 85 |
1 files changed, 85 insertions, 0 deletions
diff --git a/jjb/joid/opnfv-joid.yml b/jjb/joid/opnfv-joid.yml new file mode 100644 index 000000000..4d99e3199 --- /dev/null +++ b/jjb/joid/opnfv-joid.yml @@ -0,0 +1,85 @@ +######################## +# Job configuration for joid +######################## +- project: + + name: 'opnfv-joid' + + installer: 'joid' + + controller: + - 'opencontrail' + - 'opendaylight' + - 'onos' + + pod: 'intel-pod5' + + stream: + - master: + branch: 'master' + gs-pathname: '' + + jobs: + - 'opnfv-joid-{controller}-daily-{stream}' + - 'opnfv-joid-daily-deploy-{stream}' + +######################## +# job templates +######################## +- job-template: + name: 'opnfv-joid-{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-joid-daily-deploy-{stream}' + git-revision: true + block: true + predefined-parameters: + CONTROLLER='{controller}' + +- job-template: + name: 'opnfv-joid-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" + |