Add publishing for Scissors API

This commit is contained in:
2022-07-05 17:07:53 -05:00
parent 6731e603e9
commit aa0bc01f7b
2 changed files with 40 additions and 0 deletions

11
Jenkinsfile vendored
View File

@ -24,6 +24,17 @@ pipeline {
sh './gradlew test --no-daemon'
}
}
stage('publish') {
when {
branch "1.19"
}
steps {
withCredentials([usernamePassword(credentialsId: '8150559b-ec1d-41bd-a576-aa668a52c1ba', passwordVariable: 'scissorsPassword', usernameVariable: 'scissorsUser')]) {
withGradle {
sh "./gradlew :Scissors-API:publish --no-daemon"
}
}
}
}
}
post {