diff options
Diffstat (limited to 'jjb/joid/opnfv-joid.yml')
-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" + |