We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b98b788 + df23fac commit a5495abCopy full SHA for a5495ab
1 file changed
Jenkinsfile
@@ -47,7 +47,7 @@ pipeline {
47
// upload to repo
48
withCredentials([usernamePassword(credentialsId: 'cloudtrust-cicd-artifactory-opaque', usernameVariable: 'USR', passwordVariable: 'PWD')]){
49
sh """
50
- cd target
+ cd "${APP}/target"
51
mv "${APP}"-?.?.?*.tar.gz "${APP}-${params.VERSION}.tar.gz"
52
curl -k -u"${USR}:${PWD}" -T "${APP}-${params.VERSION}.tar.gz" --keepalive-time 2 "${REPO_URL}/${APP}-${params.VERSION}.tar.gz"
53
"""
0 commit comments