summaryrefslogtreecommitdiffstats
path: root/rulemgt-standalone/pom.xml
diff options
context:
space:
mode:
authorGuangrongFu <fu.guangrong@zte.com.cn>2018-10-31 15:24:31 +0800
committerGuangrongFu <fu.guangrong@zte.com.cn>2018-10-31 15:57:33 +0800
commitff73e41b36b199bed06443811ac27b8dac5460c8 (patch)
tree41cd565acf96c49a8c8b9429eee7a7a219413ac9 /rulemgt-standalone/pom.xml
parent8c5aa0d0446bd23a1321de1628e01de0549d2d4d (diff)
Modified the Docker Tagging
Change-Id: Ib9792a7b893bb8cc2c7a1771afdd3ad385e37226 Issue-ID: HOLMES-179 Signed-off-by: GuangrongFu <fu.guangrong@zte.com.cn>
Diffstat (limited to 'rulemgt-standalone/pom.xml')
-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>