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:
Telesphoreo 2023-06-13 14:35:12 -05:00
parent 0c8658f767
commit c92c04eff6
No known key found for this signature in database
GPG Key ID: 68B745F7F8C2FADA

19
Jenkinsfile vendored
View File

@ -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 {
always {