mirror of
https://github.com/AtlasMediaGroup/Scissors.git
synced 2024-11-26 22:55:39 +00:00
?
This commit is contained in:
parent
785a0df912
commit
c0a8f2c8de
22
Jenkinsfile
vendored
22
Jenkinsfile
vendored
@ -30,17 +30,19 @@ pipeline {
|
|||||||
branch "1.19.3"
|
branch "1.19.3"
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
try {
|
script {
|
||||||
withCredentials([usernamePassword(credentialsId: 'scissors-ci', passwordVariable: 'scissorsPassword', usernameVariable: 'scissorsUser')]) {
|
try {
|
||||||
withGradle {
|
withCredentials([usernamePassword(credentialsId: 'scissors-ci', passwordVariable: 'scissorsPassword', usernameVariable: 'scissorsUser')]) {
|
||||||
sh "./gradlew :Scissors-API:publish --no-daemon"
|
withGradle {
|
||||||
}
|
sh "./gradlew :Scissors-API:publish --no-daemon"
|
||||||
}
|
}
|
||||||
true
|
}
|
||||||
} catch (_) {
|
true
|
||||||
false
|
} catch (_) {
|
||||||
|
false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
|
Loading…
Reference in New Issue
Block a user