Archived
0
0
Fork 0

ci: added ci skipping [ci skip]

This commit is contained in:
Daryl Ronningen 2021-07-16 20:35:50 -07:00
parent dfe63a90fe
commit 37f9763d72
Signed by: Daryl Ronningen
GPG key ID: FD23F0C934A5EC6B

12
Jenkinsfile vendored
View file

@ -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=========='