Limit to tag pushes
This commit is contained in:
parent
a60ea83563
commit
861a18f24a
1 changed files with 3 additions and 3 deletions
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
|
|
@ -3,12 +3,12 @@ pipeline {
|
||||||
|
|
||||||
triggers {
|
triggers {
|
||||||
GenericTrigger(
|
GenericTrigger(
|
||||||
causeString: 'Triggered on tag push',
|
causeString: 'Triggered on tag push only',
|
||||||
token: 'tag-trigger-secret',
|
token: 'tag-trigger-secret',
|
||||||
printContributedVariables: true,
|
printContributedVariables: true,
|
||||||
printPostContent: true,
|
printPostContent: true,
|
||||||
regexpFilterExpression: 'ref=refs/tags/.*',
|
regexpFilterExpression: 'ref=refs/tags/.*\nafter=(?!0{40}).*',
|
||||||
regexpFilterText: '$ref'
|
regexpFilterText: '$ref\n$after'
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue