fix maven-dockera-stage build error 56/94656/1
authorHuabing Zhao <zhao.huabing@zte.com.cn>
Fri, 30 Aug 2019 06:36:28 +0000 (14:36 +0800)
committerHuabing Zhao <zhao.huabing@zte.com.cn>
Fri, 30 Aug 2019 06:36:34 +0000 (14:36 +0800)
Issue-ID: MSB-373
Signed-off-by: Huabing Zhao <zhao.huabing@zte.com.cn>
Change-Id: I570361b1e646fab8f9abbfc770ddb6ba3d05cca4

distributions/msb-discovery/pom.xml

index c9eccc5..0f86a56 100644 (file)
   <properties>
 
     <openresty.version>1.11.2.2</openresty.version>
+    <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
     <packageid>msb-discovery</packageid>
     <html.dir>openresty/nginx/html</html.dir>
     <version.output>${project.basedir}/target/version</version.output>
     <docker.image.name>onap/msb/msb_discovery</docker.image.name>
-    <docker.tag>${project.version}-${timestamp}</docker.tag>
+    <docker.tag>${project.version}-${maven.build.timestamp}</docker.tag>
     <docker.latest.tag>${project.version}-latest</docker.latest.tag>
   </properties>