From ff73e41b36b199bed06443811ac27b8dac5460c8 Mon Sep 17 00:00:00 2001 From: GuangrongFu Date: Wed, 31 Oct 2018 15:24:31 +0800 Subject: Modified the Docker Tagging Change-Id: Ib9792a7b893bb8cc2c7a1771afdd3ad385e37226 Issue-ID: HOLMES-179 Signed-off-by: GuangrongFu --- rulemgt-standalone/pom.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 @@ ${basedir}/target/version/Dockerfile ${project.version} - ${project.version}-STAGING-${maven.build.timestamp} + ${project.version}-${build.number} ${project.docker.latesttag.version} + ${project.docker.latesttag.version.with.timestamp} -- cgit 1.2.3-korg