summaryrefslogtreecommitdiffstats
path: root/cps-application
diff options
context:
space:
mode:
authorRishi.Chail <rishi.chail@est.tech>2021-03-15 13:35:57 +0000
committerToine Siebelink <toine.siebelink@est.tech>2021-03-24 14:15:56 +0000
commit3f6f5b8eb76cbffd901917f69137045b5012cc1c (patch)
tree934c7db1513be72bed371835bca22492cd66b63f /cps-application
parent63be201ed60ca0d0b16ebe5a1a9d3a8e3f7b8482 (diff)
Add timestamp to docker snapshots
Issue-ID: CPS-264 Signed-off-by: Rishi.Chail <rishi.chail@est.tech> Change-Id: I25dc40e1f1d6f5fc2634625ae8403b96913829bd
Diffstat (limited to 'cps-application')
-rwxr-xr-x[-rw-r--r--]cps-application/pom.xml5
1 files changed, 3 insertions, 2 deletions
diff --git a/cps-application/pom.xml b/cps-application/pom.xml
index 53ba1c9658..fa4b5ef4ad 100644..100755
--- a/cps-application/pom.xml
+++ b/cps-application/pom.xml
@@ -35,7 +35,8 @@
<properties>
<app>org.onap.cps.Application</app>
<image.version>${project.version}</image.version>
- <jib-maven-plugin.version>2.6.0</jib-maven-plugin.version>
+ <jib-maven-plugin.version>2.8.0</jib-maven-plugin.version>
+ <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
<minimum-coverage>0.7</minimum-coverage>
<nexus.repository>nexus3.onap.org:10003/onap/</nexus.repository>
</properties>
@@ -125,7 +126,7 @@
<tags>
<tag>latest</tag>
</tags>
- <image>${nexus.repository}${image.name}:${image.version}</image>
+ <image>${nexus.repository}${image.name}:${image.version}-${maven.build.timestamp}</image>
</to>
</configuration>
<executions>