Merge "Fix the docker build error for vfc-nfvo-wfengine"
authorFu Jinhua <fu.jinhua@zte.com.cn>
Wed, 27 Sep 2017 11:55:55 +0000 (11:55 +0000)
committerGerrit Code Review <gerrit@onap.org>
Wed, 27 Sep 2017 11:55:55 +0000 (11:55 +0000)
wfenginemgrservice/src/main/docker/wfenginemgrservice-docker-build_image.sh

index 5d29947..fade340 100644 (file)
@@ -48,7 +48,8 @@ echo "CURLPROXY=${CURLPROXY}"
 
 rm -f ./bin/workflow-engine-mgr-service*.jar
 echo "${CURLPROXY}" -m 300 -O -J -L  "https://nexus.onap.org/service/local/artifact/maven/content?r=${NEXUSREPONAME}&g=org.onap.vfc.nfvo.wfengine&a=workflow-engine-mgr-service&e=jar&v=${VERSION}" LATEST
-curl "${CURLPROXY}" -m 300 -O -J -L  "https://nexus.onap.org/service/local/artifact/maven/content?r=${NEXUSREPONAME}&g=org.onap.vfc.nfvo.wfengine&a=workflow-engine-mgr-service&e=jar&v=${VERSION}"
+#curl "${CURLPROXY}" -m 300 -O -J -L  "https://nexus.onap.org/service/local/artifact/maven/content?r=${NEXUSREPONAME}&g=org.onap.vfc.nfvo.wfengine&a=workflow-engine-mgr-service&e=jar&v=${VERSION}"
+wget --output-file=workflow-engine-mgr-service.jar "https://nexus.onap.org/service/local/artifact/maven/content?r=${NEXUSREPONAME}&g=org.onap.vfc.nfvo.wfengine&a=workflow-engine-mgr-service&e=jar&v=${VERSION}"
 mv workflow-engine-mgr-service*.jar ./bin/workflow-engine-mgr-service.jar 
 
 function build_image {