Add webhook trigger

This commit is contained in:
2026-07-04 13:01:49 +03:00
parent 7e6304401c
commit 2ae4024bfc
Vendored
+13
View File
@@ -8,6 +8,19 @@ pipeline {
}
}
triggers {
GenericTrigger(
genericVariables: [[key: 'ref', value: '$.ref']],
causeString: 'Triggered on $ref',
printContributedVariables: true,
printPostContent: true,
silentResponse: false,
shouldNotFlatten: false,
regexpFilterText: '$ref',
regexpFilterExpression: 'refs/heads/' + BRANCH_NAME
)
}
options {
disableConcurrentBuilds()
buildDiscarder(logRotator(numToKeepStr: '10', artifactNumToKeepStr: '10'))