mirror of
https://github.com/AtlasMediaGroup/Scissors.git
synced 2024-11-14 19:34:54 -05:00
Update Jenkinsfile
This commit is contained in:
parent
ebdedbed25
commit
3000da112b
1 changed files with 0 additions and 19 deletions
19
Jenkinsfile
vendored
19
Jenkinsfile
vendored
|
@ -30,25 +30,6 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('publish') {
|
|
||||||
when {
|
|
||||||
branch "1.18.2"
|
|
||||||
}
|
|
||||||
steps {
|
|
||||||
script {
|
|
||||||
try {
|
|
||||||
withCredentials([usernamePassword(credentialsId: 'scissors-ci', passwordVariable: 'scissorsPassword', usernameVariable: 'scissorsUser')]) {
|
|
||||||
withGradle {
|
|
||||||
sh "./gradlew :Scissors-API:publish --no-daemon"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
true
|
|
||||||
} catch (_) {
|
|
||||||
false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
always {
|
always {
|
||||||
|
|
Loading…
Reference in a new issue