summaryrefslogtreecommitdiffstats
path: root/jjb/global-templates-python.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'jjb/global-templates-python.yaml')
-rw-r--r--jjb/global-templates-python.yaml10
1 files changed, 8 insertions, 2 deletions
diff --git a/jjb/global-templates-python.yaml b/jjb/global-templates-python.yaml
index 13c6ccd1f..248d4561f 100644
--- a/jjb/global-templates-python.yaml
+++ b/jjb/global-templates-python.yaml
@@ -168,11 +168,17 @@
global-settings-file: 'global-settings'
settings-file: '{mvn-settings}'
+ - inject:
+ properties-file: version.properties
+
- docker-login
- shell: |
cp $WORKSPACE/docker/* .
docker -D build -t openecomp/testsuite .
export REPO="nexus3.onap.org:10003"
- docker tag openecomp/testsuite:latest $REPO/openecomp/testsuite:1.0-STAGING-latest
- docker push $REPO/openecomp/testsuite:1.0-STAGING-latest
+ for tag in $tags
+ do
+ docker tag openecomp/testsuite:latest $REPO/openecomp/testsuite:$tag
+ docker push $REPO/openecomp/testsuite:$tag
+ done