mirror of
https://github.com/AtlasMediaGroup/Scissors.git
synced 2024-11-27 07:05:39 +00:00
Update Jenkinsfile
This commit is contained in:
parent
671bf4bd18
commit
1a5d2bf22a
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@ -18,7 +18,8 @@ pipeline {
|
|||||||
}
|
}
|
||||||
sh """
|
sh """
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
mv \${WORKSPACE}/build/libs/Scissors-*.jar \${WORKSPACE}/build/libs/scissors-\${BRANCH_NAME}-\${BUILD_NUMBER}.jar
|
BRANCH=\$(echo "\${BRANCH_NAME}" | sed 's/\\//_/g')
|
||||||
|
mv \${WORKSPACE}/build/libs/Scissors-*.jar \${WORKSPACE}/build/libs/scissors-\${BRANCH}-\${BUILD_NUMBER}.jar
|
||||||
"""
|
"""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user