Temporary fix for jenkins 17/105017/1
authorPatrick Brady <patrick.brady@att.com>
Thu, 2 Apr 2020 17:22:21 +0000 (10:22 -0700)
committerPatrick Brady <patrick.brady@att.com>
Thu, 2 Apr 2020 17:22:27 +0000 (10:22 -0700)
Temporary fix for the issue where maven running on jenkins
is not able to find the platform logic installer zip file
in the maven local repository. By setting this version to
snapshot, maven will be able to find the version in nexus
that was build by another job, since it can't find the one
being build by the docker build job.

Change-Id: I9e2125134f9ef0984eb3406848c98d6687212771
Signed-off-by: Patrick Brady <patrick.brady@att.com>
Issue-ID: APPC-1816

installation/appc/src/main/scripts/installZips.sh

index 5428f16..b13d6bd 100644 (file)
@@ -106,7 +106,7 @@ done
 
 echo "Installing platform-logic for APP-C"
 rm -f ${tmpDir}/platform-logic-installer*.zip
-mvn -U ${mavenOpts} org.apache.maven.plugins:maven-dependency-plugin:2.9:copy -Dartifact=org.onap.appc.deployment:platform-logic-installer:${APPC_OAM_VERSION}:zip -DoutputDirectory=${tmpDir} -Dmaven.wagon.http.ssl.allowall=true -Dmaven.wagon.ssl.insecure=true
+mvn -U ${mavenOpts} org.apache.maven.plugins:maven-dependency-plugin:2.9:copy -Dartifact=org.onap.appc.deployment:platform-logic-installer:1.7.1-SNAPSHOT:zip -DoutputDirectory=${tmpDir} -Dmaven.wagon.http.ssl.allowall=true -Dmaven.wagon.ssl.insecure=true
 unzip -d ${targetDir} ${tmpDir}/platform-logic-installer*.zip
 
 echo "Downloading dg-loader DGs from nexus"