diff options
author | Michael Hwang <mhwang@research.att.com> | 2017-09-18 17:16:23 -0400 |
---|---|---|
committer | Michael Hwang <mhwang@research.att.com> | 2017-09-18 17:17:20 -0400 |
commit | dc6347dddb7de9be8d3c504c66c0e8bff47d7f87 (patch) | |
tree | cff7f2a436a152b282bcbf0aba791917126088f2 /pom.xml | |
parent | 3f3f5f85c2bd4d43b64ecd1cf1dc9e951efb3e0d (diff) |
Remove the mapping of docker executions
The corresponding jjb has been changed to explicitly call the docker
execution operations.
Change-Id: I119f2ad570ee0af28da9f81feb9f26c6ebb9dd7f
Issue-Id: DCAEGEN2-60
Signed-off-by: Michael Hwang <mhwang@research.att.com>
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 38 |
1 files changed, 3 insertions, 35 deletions
@@ -177,9 +177,10 @@ <version>0.4.13</version> <configuration> <maintainer>Michael Hwang</maintainer> - <imageName>${project.artifactId}</imageName> + <imageName>${onap.nexus.dockerregistry.daily}/onap/${project.groupId}.${project.artifactId}</imageName> <imageTags> - <imageTag>${project.version}</imageTag> + <imageTag>${project.version}-${maven.build.timestamp}</imageTag> + <imageTag>latest</imageTag> </imageTags> <baseImage>java:8-jre</baseImage> <entryPoint>["java", "-jar", "/opt/${project.build.finalName}.jar", "prod", "http://consul:8500/v1/kv/service-change-handler?raw=true"]</entryPoint> @@ -192,39 +193,6 @@ </resource> </resources> </configuration> - <executions> - <execution> - <id>build-image</id> - <phase>package</phase> - <goals> - <goal>build</goal> - </goals> - </execution> - <execution> - <id>tag-image-timestamped-version</id> - <phase>deploy</phase> - <goals> - <goal>tag</goal> - </goals> - <configuration> - <image>${project.artifactId}</image> - <newName>${onap.nexus.dockerregistry.daily}/onap/${project.groupId}.${project.artifactId}:${project.version}-${maven.build.timestamp}</newName> - <pushImage>true</pushImage> - </configuration> - </execution> - <execution> - <id>tag-image-latest-version</id> - <phase>deploy</phase> - <goals> - <goal>tag</goal> - </goals> - <configuration> - <image>${project.artifactId}</image> - <newName>${onap.nexus.dockerregistry.daily}/onap/${project.groupId}.${project.artifactId}:LATEST</newName> - <pushImage>true</pushImage> - </configuration> - </execution> - </executions> </plugin> </plugins> |