aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Arrastia <MArrasti@amdocs.com>2018-08-07 10:53:41 +0100
committerMichael Arrastia <MArrasti@amdocs.com>2018-08-07 10:53:41 +0100
commit5d6d30503bd5deb1bf1fc596a1c26d304bdbcfc8 (patch)
tree7e49fe7466f82ce8eaf2a268b251a2ac23eb40f8
parente4a7e56f452c03ce832fe2fa59430cb1ae985949 (diff)
Add Spotify plugin for Jenkins Docker build
Change-Id: I1f197cf25f0f66ef2dbdfd066a6914b8f620a9ff Issue-ID: AAI-1446 Signed-off-by: Michael Arrastia <MArrasti@amdocs.com>
-rw-r--r--pom.xml24
1 files changed, 24 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index 2341bd6..f5325d7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -35,6 +35,7 @@
<name>aai-spike</name>
<properties>
+ <docker.location>${basedir}/target</docker.location>
<aaiCommonVersion>1.2.4</aaiCommonVersion>
</properties>
@@ -319,6 +320,29 @@
</plugin>
<plugin>
+ <groupId>com.spotify</groupId>
+ <artifactId>docker-maven-plugin</artifactId>
+ <version>0.4.11</version>
+ <dependencies>
+ <dependency>
+ <groupId>com.github.jnr</groupId>
+ <artifactId>jnr-unixsocket</artifactId>
+ <version>0.13</version>
+ </dependency>
+ </dependencies>
+ <configuration>
+ <verbose>true</verbose>
+ <serverId>docker-hub</serverId>
+ <imageName>${docker.push.registry}/onap/${project.artifactId}</imageName>
+ <dockerDirectory>${docker.location}</dockerDirectory>
+ <imageTags>
+ <imageTag>latest</imageTag>
+ </imageTags>
+ <forceTags>true</forceTags>
+ </configuration>
+ </plugin>
+
+ <plugin>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>3.0</version>