diff options
author | 2017-02-10 16:07:24 +0000 | |
---|---|---|
committer | 2017-02-10 16:07:24 +0000 | |
commit | 7085decf92a137e5ed9a0b09b532ec03eadb396f (patch) | |
tree | 20fc0f32f2ee380e787d1383e28fd90aeb97d748 /jjb/global-templates-java.yaml | |
parent | 15e43c74a1ae958ddedcbe28c937ba8d448d16bf (diff) | |
parent | abbafb5c42c628bd3b1133a6492286846c121ab9 (diff) |
Merge "Add docker image building & push"
Diffstat (limited to 'jjb/global-templates-java.yaml')
-rw-r--r-- | jjb/global-templates-java.yaml | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/jjb/global-templates-java.yaml b/jjb/global-templates-java.yaml index 039bc2ee1..370f616ea 100644 --- a/jjb/global-templates-java.yaml +++ b/jjb/global-templates-java.yaml @@ -303,3 +303,46 @@ # publishers: # - ecomp-infra-shiplogs: # maven-version: 'mvn33' + +- job-template: + name: '{project-name}-{stream}-docker-java-daily' + project-type: freestyle + + 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}' + + scm: + - gerrit-trigger-scm: + refspec: '' + choosing-strategy: 'default' + + - git-extra-project: + refspec: 'refs/heads/{extra-branch}' + project: '{extra-project}' + branch: '{extra-branch}' + checkout-dir: '{extra-checkout-dir}' + + wrappers: + - ecomp-infra-wrappers: + build-timeout: '{build-timeout}' + + triggers: + # 11 AM UTC + - timed: 'H 12 * * *' + + builders: + - provide-maven-settings: + global-settings-file: 'global-settings' + settings-file: '{mvn-settings}' + - maven-docker-push-daily: + profile-name: '{profile-name}' + mvn-settings: '{mvn-settings}' + pom: '{docker-pom}' |