summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortang peng <tang.peng5@zte.com.cn>2018-10-31 08:17:57 +0000
committerGerrit Code Review <gerrit@onap.org>2018-10-31 08:17:57 +0000
commitc066e7d1f7cfbbe74a1e740a939bb268f4a92b3e (patch)
tree01f7f5a6ac046fe88d3576a816c295827bec4e2f
parent6bf2e252bed6a7b263cdceacc9515d94550a8ddd (diff)
parentff73e41b36b199bed06443811ac27b8dac5460c8 (diff)
Merge "Modified the Docker Tagging"
-rw-r--r--rulemgt-standalone/pom.xml4
1 files changed, 3 insertions, 1 deletions
diff --git a/rulemgt-standalone/pom.xml b/rulemgt-standalone/pom.xml
index 8cc3471..a46a94d 100644
--- a/rulemgt-standalone/pom.xml
+++ b/rulemgt-standalone/pom.xml
@@ -251,6 +251,7 @@
}
project.properties['project.docker.latesttag.version'] = versionArray[0] + "-STAGING-latest";
+ project.properties['project.docker.latesttag.version.with.timestamp'] = versionArray[0] + "-STAGING-${build.number}";
println 'New Tag for docker:' +
project.properties['project.docker.latesttag.version'];
@@ -282,8 +283,9 @@
<dockerFile>${basedir}/target/version/Dockerfile</dockerFile>
<tags>
<tag>${project.version}</tag>
- <tag>${project.version}-STAGING-${maven.build.timestamp}</tag>
+ <tag>${project.version}-${build.number}</tag>
<tag>${project.docker.latesttag.version}</tag>
+ <tag>${project.docker.latesttag.version.with.timestamp}</tag>
</tags>
</build>
</image>