diff options
Diffstat (limited to 'jjb/compass4nfv')
-rw-r--r-- | jjb/compass4nfv/opnfv-compass4nfv.yml | 84 |
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" |