Commit 504e7181 authored by Josh Steinberg's avatar Josh Steinberg

update path

parent b79d9b3b
......@@ -77,7 +77,7 @@ pipeline {
stage("Pull from Nexus"){
steps{
script{
pom = readMavenPom file: "pom.xml";
pom = readMavenPom file: "pom.xml";
GROUP_ID=pom.groupId
ARTIFACT_ID=pom.artifactId
LOCAL_FILE="spring-boot-complete-0.0.1-SNAPSHOT.jar"
......@@ -86,6 +86,7 @@ pipeline {
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}"
'curl -o "${LOCAL_FILE}" "${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