mirror of
https://github.com/AtlasMediaGroup/Scissors.git
synced 2024-11-27 07:05:39 +00:00
Add CI skipping
This commit is contained in:
parent
dcd2e77668
commit
1ce9a71b1e
27
Jenkinsfile
vendored
27
Jenkinsfile
vendored
@ -6,6 +6,7 @@ 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'
|
||||||
}
|
}
|
||||||
@ -30,19 +31,19 @@ pipeline {
|
|||||||
branch "1.19.3"
|
branch "1.19.3"
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
try {
|
try {
|
||||||
withCredentials([usernamePassword(credentialsId: 'scissors-ci', passwordVariable: 'scissorsPassword', usernameVariable: 'scissorsUser')]) {
|
withCredentials([usernamePassword(credentialsId: 'scissors-ci', passwordVariable: 'scissorsPassword', usernameVariable: 'scissorsUser')]) {
|
||||||
withGradle {
|
withGradle {
|
||||||
sh "./gradlew :Scissors-API:publish --no-daemon"
|
sh "./gradlew :Scissors-API:publish --no-daemon"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
true
|
true
|
||||||
} catch (_) {
|
} catch (_) {
|
||||||
false
|
false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
|
Loading…
Reference in New Issue
Block a user