Skip to content

Commit a5495ab

Browse files
authored
Merge pull request #23 from vloup/update-jenkinsfile
Update Jenkinsfile for a correct release path after pom refactor.
2 parents b98b788 + df23fac commit a5495ab

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ pipeline {
4747
// upload to repo
4848
withCredentials([usernamePassword(credentialsId: 'cloudtrust-cicd-artifactory-opaque', usernameVariable: 'USR', passwordVariable: 'PWD')]){
4949
sh """
50-
cd target
50+
cd "${APP}/target"
5151
mv "${APP}"-?.?.?*.tar.gz "${APP}-${params.VERSION}.tar.gz"
5252
curl -k -u"${USR}:${PWD}" -T "${APP}-${params.VERSION}.tar.gz" --keepalive-time 2 "${REPO_URL}/${APP}-${params.VERSION}.tar.gz"
5353
"""

0 commit comments

Comments
 (0)