From: Piotr Jaszczyk Date: Thu, 16 Aug 2018 06:09:27 +0000 (+0200) Subject: Align with release docker & JARs CI definitions X-Git-Tag: 1.0.0~35 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=45613ffdf0de0794267bf8eb4ecb86c6b813eff1;p=dcaegen2%2Fcollectors%2Fhv-ves.git Align with release docker & JARs CI definitions If not explocitly called with -DskipDockerPush=false Maven will not push docker images to the registry. The change is introduced in order for '{project-name}-{stream}-docker-java-shell-daily' to do the push but all other Jenkins jobs should skip this step. Also set hv-collector-analysis version to 1.0.0-SNAPSHOT as it's not a child of root pom (it contains only custom definitions needed for detekt plugin to work). Change-Id: Icc4a1d6cc1a763fad417860b45ffdad30524f67b Issue-ID: DCAEGEN2-661 Signed-off-by: Piotr Jaszczyk --- diff --git a/pom.xml b/pom.xml index 7504d4f2..127e4bd6 100644 --- a/pom.xml +++ b/pom.xml @@ -82,6 +82,7 @@ false + true yyyyMMdd'T'HHmmss ${onap.nexus.dockerregistry.daily} onap @@ -89,7 +90,6 @@ - ${project.basedir}/src/main/kotlin ${project.basedir}/src/test/kotlin @@ -338,7 +338,7 @@ ${project.groupId} hv-collector-analysis - ${project.version} + 1.0.0-SNAPSHOT @@ -420,6 +420,7 @@ + ${skipDockerPush} true IfNotPresent