From 2f1f361402db53f3e5d133e482e7e9b3dfd2305c Mon Sep 17 00:00:00 2001 From: "Timoney, Dan (dt5972)" Date: Thu, 14 Feb 2019 13:52:48 -0500 Subject: Fix docker tags Update docker tags to conform to ONAP project standards Change-Id: I348f9507e382931e6adfa224d30225f0fbe270bc Issue-ID: CCSDK-1059 Signed-off-by: Timoney, Dan (dt5972) --- ms/controllerblueprints/distribution/pom.xml | 25 ++++++------------------- 1 file changed, 6 insertions(+), 19 deletions(-) (limited to 'ms/controllerblueprints') diff --git a/ms/controllerblueprints/distribution/pom.xml b/ms/controllerblueprints/distribution/pom.xml index 91d4bbca0..c73d15b6e 100755 --- a/ms/controllerblueprints/distribution/pom.xml +++ b/ms/controllerblueprints/distribution/pom.xml @@ -34,6 +34,8 @@ ${https_proxy} deploy true + ${project.version} + ${maven.build.timestamp} @@ -120,22 +122,7 @@ execute - - println project.properties['ccsdk.project.version'] - def versionArray - if (project.properties['ccsdk.project.version'] != null ) { - versionArray = project.properties['ccsdk.project.version'].split('\\.') - } - - if (project.properties['ccsdk.project.version'].endsWith("-SNAPSHOT")) - { - project.properties['project.docker.latesttag.version']=versionArray[0] + '.' + versionArray[1] + "-STAGING-latest" - } else { - project.properties['project.docker.latesttag.version']=versionArray[0]+'.' + versionArray[1]+"-STAGING-latest" - } - - println 'New Tag for docker:' + project.properties['project.docker.latesttag.version'] - + ${basedir}/../../../TagVersion.groovy @@ -162,9 +149,9 @@ try ${basedir}/target/docker-stage - ${project.version} - ${project.version}-STAGING-${maven.build.timestamp} - ${project.docker.latesttag.version} + ${project.docker.latestminortag.version} + ${project.docker.latestfulltag.version} + ${project.docker.latesttagtimestamp.version} -- cgit 1.2.3-korg