mirror of
https://github.com/AtlasMediaGroup/Scissors.git
synced 2024-11-26 22:55:39 +00:00
Quick format
This commit is contained in:
parent
4c619e5bf6
commit
20b899d08c
28
Jenkinsfile
vendored
28
Jenkinsfile
vendored
@ -6,7 +6,7 @@ pipeline {
|
||||
stages {
|
||||
stage('applyPatches') {
|
||||
steps {
|
||||
scmSkip(deleteBuild: true)
|
||||
scmSkip(deleteBuild: true)
|
||||
withGradle {
|
||||
sh './gradlew applyPatches --no-daemon --refresh-dependencies'
|
||||
}
|
||||
@ -31,19 +31,19 @@ pipeline {
|
||||
branch "1.19.4"
|
||||
}
|
||||
steps {
|
||||
script {
|
||||
try {
|
||||
withCredentials([usernamePassword(credentialsId: 'scissors-ci', passwordVariable: 'scissorsPassword', usernameVariable: 'scissorsUser')]) {
|
||||
withGradle {
|
||||
sh "./gradlew :Scissors-API:publish --no-daemon"
|
||||
}
|
||||
}
|
||||
true
|
||||
} catch (_) {
|
||||
false
|
||||
}
|
||||
}
|
||||
}
|
||||
script {
|
||||
try {
|
||||
withCredentials([usernamePassword(credentialsId: 'scissors-ci', passwordVariable: 'scissorsPassword', usernameVariable: 'scissorsUser')]) {
|
||||
withGradle {
|
||||
sh "./gradlew :Scissors-API:publish --no-daemon"
|
||||
}
|
||||
}
|
||||
true
|
||||
} catch (_) {
|
||||
false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
post {
|
||||
|
Loading…
Reference in New Issue
Block a user