aboutsummaryrefslogtreecommitdiffstats
path: root/cdt/pom.xml
diff options
context:
space:
mode:
authorPatrick Brady <pb071s@att.com>2018-04-06 15:28:17 -0700
committerPatrick Brady <pb071s@att.com>2018-04-06 15:30:18 -0700
commitd64f8407897ac8bca1bc69935edba4222210b932 (patch)
tree6f36663370d07ed015221aff227f09161be0a0ac /cdt/pom.xml
parent739da2ea583cece1f650fe43dba0ac67dba6ed9b (diff)
Add timestamp to snapshot
Added the timestamp to the docker image tags for the snapshot builds. Change-Id: I658b781d22d21e519963b3f8da6da15df411602b Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: CIMAN-132
Diffstat (limited to 'cdt/pom.xml')
-rw-r--r--cdt/pom.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/cdt/pom.xml b/cdt/pom.xml
index 0c541fb..4d951f0 100644
--- a/cdt/pom.xml
+++ b/cdt/pom.xml
@@ -157,7 +157,7 @@ limitations under the License.
}
if ( project.properties['ver'].endsWith("-SNAPSHOT") ) {
project.properties['dockertag1']=project.properties['ver'] + "-latest";
- project.properties['dockertag2']="latest";
+ project.properties['dockertag2']=project.properties['ver'] + "-" + project.properties['timestamp'];
project.properties['appc.version']=project.properties['appc.snapshot.version'];
} else {
project.properties['dockertag1']=versionArray[0] + '.' + versionArray[1] + "-STAGING-latest";