mirror of
https://github.com/AtlasMediaGroup/Scissors.git
synced 2024-12-04 12:51:00 -05:00
Update Jenkinsfile
This commit is contained in:
parent
f33f6d2de8
commit
76155af1ed
1 changed files with 0 additions and 19 deletions
19
Jenkinsfile
vendored
19
Jenkinsfile
vendored
|
@ -29,25 +29,6 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('publish') {
|
|
||||||
when {
|
|
||||||
branch "1.17.1"
|
|
||||||
}
|
|
||||||
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