diff options
author | Zhaoxing <meng.zhaoxing1@zte.com.cn> | 2018-10-11 16:16:15 +0800 |
---|---|---|
committer | Zhaoxing <meng.zhaoxing1@zte.com.cn> | 2018-10-11 16:25:30 +0800 |
commit | 6cb2387d1dd5f26748f67d1c743d88251c35b773 (patch) | |
tree | e34e9fe80c350923895f155b8af759f56fbe49eb /wfenginemgrservice/src/main/docker | |
parent | 7d5d2073e171d904599c28f4126a7ed4ec5e1751 (diff) |
Fix wfengine docker build issue3.0.1-ONAP1.2.0
Issue-ID: VFC-851
Change-Id: I24da7a61402d692a44dbaf31e1e257f18f5a112c
Signed-off-by: Zhaoxing <meng.zhaoxing1@zte.com.cn>
Diffstat (limited to 'wfenginemgrservice/src/main/docker')
-rw-r--r-- | wfenginemgrservice/src/main/docker/wfenginemgrservice-docker-build_image.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/wfenginemgrservice/src/main/docker/wfenginemgrservice-docker-build_image.sh b/wfenginemgrservice/src/main/docker/wfenginemgrservice-docker-build_image.sh index ebb2c94..1225740 100644 --- a/wfenginemgrservice/src/main/docker/wfenginemgrservice-docker-build_image.sh +++ b/wfenginemgrservice/src/main/docker/wfenginemgrservice-docker-build_image.sh @@ -51,7 +51,7 @@ DOCKER_VER=${VERSION} cd ${DOCKER_BUILD_DIR} if [[ $VERSION != *-SNAPSHOT ]]; then - NEXUSREPONAME="releases" + NEXUSREPONAME="staging" else NEXUSREPONAME="snapshots" fi @@ -80,7 +80,11 @@ echo "${CURLPROXY}" -m 300 -O -J -L "${NEXUS_REPOS_URL}/service/local/artifact/ #curl "${CURLPROXY}" -m 300 -O -J -L "${NEXUS_REPOS_URL}/service/local/artifact/maven/content?r=${NEXUSREPONAME}&g=org.onap.vfc.nfvo.wfengine&a=workflow-engine-mgr-service&e=jar&v=${VERSION}" #wget -O workflow-engine-mgr-service.jar "${NEXUS_REPOS_URL}/service/local/artifact/maven/content?r=${NEXUSREPONAME}&g=org.onap.vfc.nfvo.wfengine&a=workflow-engine-mgr-service&e=jar&v=${VERSION}" #wget -O workflow-engine-mgr-service.jar "${NEXUS_REPOS_URL}/service/local/artifact/maven/content?r=snapshots&g=org.onap.vfc.nfvo.wfengine&a=workflow-engine-mgr-service&e=jar&v=${VERSION}-SNAPSHOT" -wget -O workflow-engine-mgr-service.jar "${NEXUS_REPOS_URL}/service/local/artifact/maven/content?r=${NEXUSREPONAME}&g=org.onap.vfc.nfvo.wfengine&a=workflow-engine-mgr-service&e=jar&v=${VERSION}" +for i in {1..10}; do + wget -O workflow-engine-mgr-service.jar "${NEXUS_REPOS_URL}/service/local/artifact/maven/content?r=${NEXUSREPONAME}&g=org.onap.vfc.nfvo.wfengine&a=workflow-engine-mgr-service&e=jar&v=${VERSION}" && break + echo sleep $i + sleep $i +done mv workflow-engine-mgr-service*.jar ./bin/workflow-engine-mgr-service.jar |