mirror of
https://github.com/AtlasMediaGroup/Scissors.git
synced 2025-06-28 00:06:41 +00:00
Add publishing for Scissors API
This commit is contained in:
12
Jenkinsfile
vendored
12
Jenkinsfile
vendored
@ -25,6 +25,18 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('publish') {
|
||||
when {
|
||||
branch "1.18.2"
|
||||
}
|
||||
steps {
|
||||
withCredentials([usernamePassword(credentialsId: '8150559b-ec1d-41bd-a576-aa668a52c1ba', passwordVariable: 'scissorsPassword', usernameVariable: 'scissorsUser')]) {
|
||||
withGradle {
|
||||
sh "./gradlew :Scissors-API:publish --no-daemon"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
post {
|
||||
always {
|
||||
|
Reference in New Issue
Block a user