diff options
author | Jessica Wagantall <jwagantall@linuxfoundation.org> | 2018-08-07 16:10:25 -0700 |
---|---|---|
committer | Jeremy Phelps <jphelps@linuxfoundation.org> | 2018-08-07 23:32:41 +0000 |
commit | 35b36e4f678a5853f4b0a689723c989b741256e2 (patch) | |
tree | e4b699c16d4cdc8041fbb0349c80e3772fc05a7d /jjb | |
parent | fe5efea6652bb78c97e0afce3eadca59866646f1 (diff) |
Add {subproject}-docker-java-shell-daily
Add subproject version of docker-java-shell-daily
needed by OOF team.
Change-Id: Icaaef803e2206d372877754abc1d976eec2066b4
Issue-ID: CIMAN-188
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Diffstat (limited to 'jjb')
-rw-r--r-- | jjb/global-templates-java.yaml | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/jjb/global-templates-java.yaml b/jjb/global-templates-java.yaml index d2bd47490..f3bd189ae 100644 --- a/jjb/global-templates-java.yaml +++ b/jjb/global-templates-java.yaml @@ -985,6 +985,75 @@ # # The purpose of this job template is to run: # 1. login to the docker registry + # 2. run a specified shell builder + # + # Required Variables: + # pom: name/location of the pom.xml file relative to the workspace + # maven-properties: properties passed to maven + + name: '{project-name}-{stream}-{subproject}-docker-java-shell-daily' + project-type: freestyle + node: '{build-node}' + disabled: '{disabled}' + properties: + - infra-properties: + build-days-to-keep: '{build-days-to-keep}' + + parameters: + - infra-parameters: + project: '{project}' + branch: '{branch}' + refspec: 'refs/heads/{branch}' + artifacts: '{archive-artifacts}' + - maven-exec: + maven-version: '{maven-version}' + + scm: + - gerrit-trigger-scm: + refspec: '' + choosing-strategy: 'default' + submodule-recursive: '{submodule-recursive}' + + wrappers: + - infra-wrappers: + build-timeout: '{build-timeout}' + + triggers: + # 12 AM UTC + - timed: 'H 12 * * *' + - gerrit-trigger-release-manually: + server: '{server-name}' + project: '{project}' + branch: '{branch}' + + builders: + + - provide-maven-settings: + global-settings-file: 'global-settings' + settings-file: '{mvn-settings}' + + - docker-login + + - maven-target: + maven-version: '{maven-version}' + pom: '{pom}' + goals: '{mvn-goals}' + settings: '{mvn-settings}' + settings-type: cfp + global-settings: 'global-settings' + global-settings-type: cfp + + - shell: '{script}' + + publishers: + - infra-shiplogs: + maven-version: '{maven-version}' + +- job-template: + # Job template for building & pushing docker images + # + # The purpose of this job template is to run: + # 1. login to the docker registry # 2. inject a version.properties file and set versions # 3. run a specified shell builder # |