From fc269cc6903fbfc3a37949bc2ac1e35346745054 Mon Sep 17 00:00:00 2001 From: "waqas.ikram" Date: Thu, 11 Feb 2021 14:15:57 +0000 Subject: Adding missing property in properties tag Change-Id: I0f65cd0dc356be22543ed24d900a8f48caa97e0e Issue-ID: SO-3473 Signed-off-by: waqas.ikram --- packages/docker/pom.xml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/packages/docker/pom.xml b/packages/docker/pom.xml index dc0eba6..72377c2 100644 --- a/packages/docker/pom.xml +++ b/packages/docker/pom.xml @@ -12,6 +12,7 @@ SO ETSI NFVO Docker Packaging + ${project.version} false false false @@ -33,13 +34,13 @@ - println 'Project version: ' + project.properties['so.project.version']; + println 'Project version: ' + project.properties['etsi-nfvo-project-version']; def versionArray; - if ( project.properties['so.project.version'] != null ) { - versionArray = project.properties['so.project.version'].split('-'); + if ( project.properties['etsi-nfvo-project-version'] != null ) { + versionArray = project.properties['etsi-nfvo-project-version'].split('-'); } - if ( project.properties['so.project.version'].endsWith("-SNAPSHOT") ) { + if ( project.properties['etsi-nfvo-project-version'].endsWith("-SNAPSHOT") ) { project.properties['project.docker.latesttag.version']=versionArray[0] + "-SNAPSHOT-latest"; } else { project.properties['project.docker.latesttag.version']=versionArray[0] + "-STAGING-latest"; -- cgit 1.2.3-korg