summaryrefslogtreecommitdiffstats
path: root/jjb/global-macros.yaml
diff options
context:
space:
mode:
authorAndrew Grimberg <agrimberg@linuxfoundation.org>2017-02-10 16:07:24 +0000
committerGerrit Code Review <gerrit@openecomp.org>2017-02-10 16:07:24 +0000
commit7085decf92a137e5ed9a0b09b532ec03eadb396f (patch)
tree20fc0f32f2ee380e787d1383e28fd90aeb97d748 /jjb/global-macros.yaml
parent15e43c74a1ae958ddedcbe28c937ba8d448d16bf (diff)
parentabbafb5c42c628bd3b1133a6492286846c121ab9 (diff)
Merge "Add docker image building & push"
Diffstat (limited to 'jjb/global-macros.yaml')
-rw-r--r--jjb/global-macros.yaml33
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