Skip to content

Commit

Permalink
fix: jenkins trigger comment pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
c-nixon committed Jun 13, 2023
1 parent 54c0bf6 commit 3122543
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pipeline {
ansiColor 'xterm'
}
triggers {
issueCommentTrigger('.*test this please.*')
issueCommentTrigger('.*@logdnabot.*')
parameterizedCron(
env.BRANCH_NAME ==~ 'main' ? 'H 8 * * 7 % PUBLISH_GCR_IMAGE=true;PUBLISH_ICR_IMAGE=true' : ''
)
Expand All @@ -31,7 +31,7 @@ pipeline {
}
}
steps {
error("A maintainer needs to approve this PR with a comment of '${TRIGGER_STRING}'")
error("A maintainer needs to approve this PR for with comment containing '.*@logdnabot.*'")
}
}

Expand Down

0 comments on commit 3122543

Please sign in to comment.