Commit 4438f24e authored by Josh Steinberg's avatar Josh Steinberg

edit bash script error

parent 3bbb53b9
......@@ -72,7 +72,7 @@ pipeline {
ssh root@${REMOTE_AGENT} "echo ${DOCKER_HUB_CRED_PSW} | docker login -u ${DOCKER_HUB_CRED_USR} --password-stdin"
ssh root@${REMOTE_AGENT} "curl -L -X GET 'http://${NEXUS_URL}/service/rest/v1/search/assets/download?sort=version&repository=${NEXUS_REPOSITORY}&maven.groupId=com.example&maven.artifactId=${PROJECT_NAME}&maven.extension=jar' \
-H 'accept: application/json' \
--output /artifact/{IMAGE_NAME}.jar
--output /artifact/{IMAGE_NAME}.jar"
ssh root@${REMOTE_AGENT} "docker build -t jsteinberg2/${IMAGE_NAME}:latest /artifact && docker push jsteinberg2/${IMAGE_NAME}:latest"
ssh root@${REMOTE_AGENT} "helm uninstall ${IMAGE_NAME} || sleep 1; sleep 30; helm install ${IMAGE_NAME} /artifact/helm/${IMAGE_NAME} --values /artifact/helm/${IMAGE_NAME}/values.yaml"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment