diff options
author | Andrew Grimberg <agrimberg@linuxfoundation.org> | 2017-02-19 21:39:38 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@openecomp.org> | 2017-02-19 21:39:38 +0000 |
commit | 63607730fa1cb25745b57ab0785eddbdcf6bba92 (patch) | |
tree | 901ca86959a01758bf86907263ee5e870f11f0c9 /jjb | |
parent | 691b0ab8b3c4ff51c3e4c15b38bfbf903dc59845 (diff) | |
parent | 714fdfa2b9ef4777a182fcaa11230840b5609ec6 (diff) |
Merge "docker merge script job added"
Diffstat (limited to 'jjb')
-rw-r--r-- | jjb/global-templates-script.yaml | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/jjb/global-templates-script.yaml b/jjb/global-templates-script.yaml index 3f1f20047..addfde830 100644 --- a/jjb/global-templates-script.yaml +++ b/jjb/global-templates-script.yaml @@ -623,3 +623,70 @@ # publishers: # - ecomp-infra-shiplogs: # maven-version: 'mvn33' + +# vim: sw=2 ts=2 sts=2 et : + +- job-template: + # Job template for scm and script trigger - for docker merge + # + # Required Variables: + # branch: git branch + # build-node: what build node to run on + # script: build script to execute + + name: '{project-name}-{stream}-merge-docker-script' + + project-type: freestyle + concurrent: true + node: '{build-node}' + + properties: + - ecomp-infra-properties: + build-days-to-keep: '{build-days-to-keep}' + + parameters: + - ecomp-infra-parameters: + project: '{project}' + branch: '{branch}' + refspec: 'refs/heads/{branch}' + artifacts: '{archive-artifacts}' + - maven-exec: + maven-version: 'mvn33' + + scm: + - gerrit-trigger-scm: + refspec: '' + choosing-strategy: 'default' + + wrappers: + - ecomp-infra-wrappers: + build-timeout: '{build-timeout}' + + triggers: + - reverse: + jobs: '{dependencies}' + result: 'success' + - gerrit-trigger-patch-merged: + server: '{server-name}' + project: '{project}' + branch: '{branch}' + files: '**' + + builders: + - provide-maven-settings: + global-settings-file: 'global-settings' + settings-file: '{mvn-settings}' + - docker-login + # make sure maven gets installed / setup + - maven-target: + maven-version: 'mvn33' + goals: '--version' + settings: '{mvn-settings}' + settings-type: cfp + global-settings: 'global-settings' + global-settings-type: cfp + - shell: '{script}' + +# publishers: +# - ecomp-infra-shiplogs: +# maven-version: 'mvn33'
\ No newline at end of file |