diff options
author | Anaël Closson <ac2550@intl.att.com> | 2017-02-09 17:55:10 +0100 |
---|---|---|
committer | Anaël Closson <ac2550@intl.att.com> | 2017-02-10 15:48:05 +0000 |
commit | abbafb5c42c628bd3b1133a6492286846c121ab9 (patch) | |
tree | 7aa33564e8823b8f50f16bd8b49c603150f6a64f /jjb/global-macros.yaml | |
parent | 5d5ca3e1d86d8c7a039c0e39260d9031089730e3 (diff) |
Add docker image building & push
Change-Id: I1e52ac81b8381b888fc2bc52075f6edc9e0e6d05
Signed-off-by: Anaël Closson <ac2550@intl.att.com>
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 |