mirror of
https://github.com/AtlasMediaGroup/Scissors.git
synced 2024-11-16 18:46:12 +00:00
Remove publishing from Jenkinsfile
This commit is contained in:
parent
11278cf85b
commit
a5ad3ecedf
21
Jenkinsfile
vendored
21
Jenkinsfile
vendored
@ -30,25 +30,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('publish') {
|
||||
when {
|
||||
branch "1.19.4"
|
||||
}
|
||||
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()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user