Limit to tag pushes

This commit is contained in:
myrmidex 2025-07-14 20:45:30 +02:00
parent a60ea83563
commit 861a18f24a

6
Jenkinsfile vendored
View file

@ -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'
) )
} }