Commit 2cb538ff authored by Josh Steinberg's avatar Josh Steinberg

update jenkinsfile

parent b680bcf0
...@@ -83,9 +83,9 @@ pipeline { ...@@ -83,9 +83,9 @@ pipeline {
LOCAL_FILE="spring-boot-complete-0.0.1-SNAPSHOT.jar" LOCAL_FILE="spring-boot-complete-0.0.1-SNAPSHOT.jar"
NEXUS_RESOLVE_URL="${NEXUS_URL}artifact/maven/resolve?g=${GROUP_ID}a=${ARTIFACT_ID}&r=${NEXUS_REPOSITORY}&v=${NEXUS_VERSION}" NEXUS_RESOLVE_URL="${NEXUS_URL}artifact/maven/resolve?g=${GROUP_ID}a=${ARTIFACT_ID}&r=${NEXUS_REPOSITORY}&v=${NEXUS_VERSION}"
REPOSITORY_LOCAL_PATH= 'curl -s "${NEXUS_RESOLVE_URL}" | xmllint --xpath "//artifact-resolution/data/repositoryPath/text()" -' REPOSITORY_LOCAL_PATH= curl -s "${NEXUS_RESOLVE_URL}" | xmllint --xpath "//artifact-resolution/data/repositoryPath/text()" -
ARTIFACT_DOWNLOAD_URL="${NEXUS_URL}/repositories/${NEXUS_REPOSITORY}/content${REPOSITORY_LOCAL_PATH}" ARTIFACT_DOWNLOAD_URL="${NEXUS_URL}/repositories/${NEXUS_REPOSITORY}/content${REPOSITORY_LOCAL_PATH}"
'curl -o "${LOCAL_FILE}" "${ARTIFACT_DOWNLOAD_URL}"' curl -o "${LOCAL_FILE}" "${ARTIFACT_DOWNLOAD_URL}"
echo "${ARTIFACT_DOWNLOAD_URL}" echo "${ARTIFACT_DOWNLOAD_URL}"
} }
} }
......
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