aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--installation/appc/pom.xml5
1 files changed, 4 insertions, 1 deletions
diff --git a/installation/appc/pom.xml b/installation/appc/pom.xml
index db6b673..c1885a1 100644
--- a/installation/appc/pom.xml
+++ b/installation/appc/pom.xml
@@ -19,7 +19,8 @@
<properties>
<image.name>openecomp/appc-image</image.name>
- <appc.version>${project.version}</appc.version>
+ <appc.release.version>1.2.0</appc.release.version>
+ <appc.snapshot.version>1.2.1-SNAPSHOT</appc.snapshot.version>
<!--This version will be over-ridden by jenkins
injecting the version.properties variable file during docker build-->
<appc.docker.staging.version>1.0.0</appc.docker.staging.version>
@@ -216,9 +217,11 @@
if ( project.properties['ver'].endsWith("-amsterdam") ) {
project.properties['dockertag1']=project.properties['ver'] + "-latest";
project.properties['dockertag2']="latest";
+ project.properties['appc.version']=project.properties['appc.snapshot.version'];
} else {
project.properties['dockertag1']=versionArray[0] + '.' + versionArray[1] + "-STAGING-latest";
project.properties['dockertag2']=project.properties['ver'] + "-STAGING-" + project.properties['timestamp'];
+ project.properties['appc.version']=project.properties['appc.release.version'];
}
println 'docker tag 1: ' + project.properties['dockertag1'];
println 'docker tag 2: ' + project.properties['dockertag2'];