Whoops, damn escape character
This commit is contained in:
Vendored
+1
-1
@@ -8,7 +8,7 @@ pipeline {
|
|||||||
stage ('prepare') {
|
stage ('prepare') {
|
||||||
steps {
|
steps {
|
||||||
env.CI_SKIP = "false"
|
env.CI_SKIP = "false"
|
||||||
result = sh (script: "git log -1 | grep '(?s).[CI[-\s]SKIP].*'", returnStatus: true)
|
result = sh (script: "git log -1 | grep '(?s).[CI[-\\s]SKIP].*'", returnStatus: true)
|
||||||
if (result == 0) {
|
if (result == 0) {
|
||||||
env.CI_SKIP = "true"
|
env.CI_SKIP = "true"
|
||||||
error "'[CI-SKIP]' found in git commit message. Aborting."
|
error "'[CI-SKIP]' found in git commit message. Aborting."
|
||||||
|
|||||||
Reference in New Issue
Block a user