Commit b79d9b3b authored by Josh Steinberg's avatar Josh Steinberg

update jenkisnfile

parent f7f623ce
...@@ -82,9 +82,9 @@ pipeline { ...@@ -82,9 +82,9 @@ pipeline {
ARTIFACT_ID=pom.artifactId ARTIFACT_ID=pom.artifactId
LOCAL_FILE="spring-boot-complete-0.0.1-SNAPSHOT.jar" LOCAL_FILE="spring-boot-complete-0.0.1-SNAPSHOT.jar"
NEXUS_RESOLVE_URL="${NEXUS_BASE_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_BASE_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}"'
} }
} }
......
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