summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwaqas.ikram <waqas.ikram@est.tech>2021-02-11 14:15:57 +0000
committerwaqas.ikram <waqas.ikram@est.tech>2021-02-11 14:15:59 +0000
commitfc269cc6903fbfc3a37949bc2ac1e35346745054 (patch)
tree33fd2199fe28f72e60b0007c0fc473447f938814
parentdd4dc39ac770da635fa2bed81f47c0a8c8a7d90e (diff)
Adding missing property in properties tag
Change-Id: I0f65cd0dc356be22543ed24d900a8f48caa97e0e Issue-ID: SO-3473 Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
-rw-r--r--packages/docker/pom.xml9
1 files 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 @@
<name>SO ETSI NFVO Docker Packaging</name>
<properties>
+ <etsi-nfvo-project-version>${project.version}</etsi-nfvo-project-version>
<docker.skip>false</docker.skip>
<docker.skip.build>false</docker.skip.build>
<docker.skip.push>false</docker.skip.push>
@@ -33,13 +34,13 @@
</goals>
<configuration>
<source>
- 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";