ci: added ci skipping [ci skip]
This commit is contained in:
parent
dfe63a90fe
commit
37f9763d72
1 changed files with 14 additions and 2 deletions
12
Jenkinsfile
vendored
12
Jenkinsfile
vendored
|
@ -17,6 +17,18 @@ pipeline {
|
||||||
}
|
}
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
|
stage('Checkout') {
|
||||||
|
steps {
|
||||||
|
script {
|
||||||
|
echo '==========Checking out=========='
|
||||||
|
if (sh (script: "git log -1 | grep '.*\\[ci skip\\].*'", returnStatus: true)) {
|
||||||
|
error "'[ci skip]' found in git commit message. Aborting."
|
||||||
|
currentBuild.result = 'NOT_BUILT'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
stage('Dependencies') {
|
stage('Dependencies') {
|
||||||
steps {
|
steps {
|
||||||
echo '==========Installing Dependencies=========='
|
echo '==========Installing Dependencies=========='
|
||||||
|
|
Reference in a new issue