Test PR 3#3
Open
jfiedlerova wants to merge 5 commits into
Open
Conversation
Use Generic Webhook Trigger (from Generic Webhook Trigger Plugin) to trigger parent pipeline for GitHub push and PR related events. Retrieve folowing generic variables from post content: | variable | expression | Note ------------------------------------------------------------------------------------- | action | $.action | Not present for PUSH events | ref | $.ref | Not present for PR events | pr_id | $.pull_request.id | Might be deleted | pr_number | $.pull_request.number | | pr_source_branch | $.pull_request.head.ref | | pr_source_repo | $.pull_request.head.repo.clone_url | | pr_target_branch | $.pull_request.base.ref | | pr_target_repo | $.pull_request.base.repo.clone_url | | pr_commit_sha | $.pull_request.head.sha | | pr_to_sha | $.pull_request.base.sha | | pr_label | $.pull_request.labels[*].name | Variables prefixed with pr are only available when the build is triggered by a PR event. For PUSH events, the commit ID is obtained from env.GIT_COMMIT, and the branch name from env.GIT_BRANCH from Git plugin. Generic Webhook Trigger configuration: Given filter is configured with text: $action $ref Given filter is configured with expression: ^(opened|reopened|synchronize)\b|refs/heads/test_github$
Owner
Author
|
Test with |
Owner
Author
|
Test with |
Owner
Author
|
Test with |
Owner
Author
|
Test with |
66de696 to
9451013
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.