Update Jenkinsfile (#101)

This commit is contained in:
Telesphoreo 2023-06-13 15:21:45 -05:00 committed by GitHub
parent 15eb4f1a10
commit e0076376d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 20 deletions

21
Jenkinsfile vendored
View File

@ -30,25 +30,6 @@ pipeline {
}
}
}
stage('publish') {
when {
branch "1.20"
}
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 {
@ -58,4 +39,4 @@ pipeline {
cleanWs()
}
}
}
}