mirror of
https://github.com/AtlasMediaGroup/Scissors.git
synced 2026-06-04 17:06:55 +00:00
Update Jenkinsfile (#100)
This commit is contained in:
Vendored
+1
-21
@@ -6,7 +6,6 @@ pipeline {
|
|||||||
stages {
|
stages {
|
||||||
stage('applyPatches') {
|
stage('applyPatches') {
|
||||||
steps {
|
steps {
|
||||||
scmSkip(deleteBuild: true)
|
|
||||||
withGradle {
|
withGradle {
|
||||||
sh './gradlew applyPatches --no-daemon --refresh-dependencies'
|
sh './gradlew applyPatches --no-daemon --refresh-dependencies'
|
||||||
}
|
}
|
||||||
@@ -26,25 +25,6 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('publish') {
|
|
||||||
when {
|
|
||||||
branch "1.19.3"
|
|
||||||
}
|
|
||||||
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 {
|
||||||
@@ -54,4 +34,4 @@ pipeline {
|
|||||||
cleanWs()
|
cleanWs()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user