mirror of
https://github.com/AtlasMediaGroup/Scissors.git
synced 2024-11-26 22:55:39 +00:00
Remove publishing task
The reason for removing this is that in theory anyone could publish to the API. I will handle it in a more secure way from now on
This commit is contained in:
parent
0c8658f767
commit
c92c04eff6
19
Jenkinsfile
vendored
19
Jenkinsfile
vendored
@ -31,25 +31,6 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('publish') {
|
|
||||||
when {
|
|
||||||
branch "1.20.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 New Issue
Block a user