diff options
author | Andrew Grimberg <agrimberg@linuxfoundation.org> | 2017-02-10 16:07:24 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@openecomp.org> | 2017-02-10 16:07:24 +0000 |
commit | 7085decf92a137e5ed9a0b09b532ec03eadb396f (patch) | |
tree | 20fc0f32f2ee380e787d1383e28fd90aeb97d748 /jjb/global-macros.yaml | |
parent | 15e43c74a1ae958ddedcbe28c937ba8d448d16bf (diff) | |
parent | abbafb5c42c628bd3b1133a6492286846c121ab9 (diff) |
Merge "Add docker image building & push"
Diffstat (limited to 'jjb/global-macros.yaml')
-rw-r--r-- | jjb/global-macros.yaml | 33 |
1 files changed, 32 insertions, 1 deletions
diff --git a/jjb/global-macros.yaml b/jjb/global-macros.yaml index a9681033f..d8ced3498 100644 --- a/jjb/global-macros.yaml +++ b/jjb/global-macros.yaml @@ -20,6 +20,38 @@ - file-id: '{settings-file}' variable: 'SETTINGS_FILE' +- builder: + name: maven-docker-push-release + builders: + - maven-target: + maven-version: 'mvn33' + pom: '{pom}' + goals: 'clean deploy -P {profile-name} -B' + settings: '{mvn-settings}' + settings-type: cfp + global-settings: 'global-settings' + global-settings-type: cfp + properties: + - maven.test.skip=true + - docker.pull.registry=nexus3.openecomp.org:10001 + - docker.push.registry=nexus3.openecomp.org:10002 + +- builder: + name: maven-docker-push-daily + builders: + - maven-target: + maven-version: 'mvn33' + pom: '{pom}' + goals: 'clean deploy -P {profile-name} -B' + settings: '{mvn-settings}' + settings-type: cfp + global-settings: 'global-settings' + global-settings-type: cfp + properties: + - maven.test.skip=true + - docker.pull.registry=nexus3.openecomp.org:10001 + - docker.push.registry=nexus3.openecomp.org:10003 + # PARAMETERS - parameter: name: ecomp-infra-parameters @@ -221,7 +253,6 @@ wipe-workspace: false basedir: '{checkout-dir}' - # TRIGGERS # This is a single macro to use for all jobs who vote on every (relevant) patch |