jenkinsci / jenkinsci/branch-api-plugin

[JENKINS-49051] Add event field to BranchEventCause

Open
#696 4 comments 0 reactions 0 assignees View on GitHub
component:branch-api-plugin imported-jira-issue priority:minor resolution:unresolved
Dominant language
Java
Stars
39
Forks
154
PR merge metrics
No merged PRs in 30d

Description

Adding the event object that triggered the build will expose more information. E.g in case of BitbucketServerPullRequestEvent it will allow to know within the pipeline what are the source and target branch without querying Bitbucket 

---
Originally reported by yurigo79, imported from: Add event field to BranchEventCause


  • status: Open
  • priority: Minor
  • component(s): branch-api-plugin
  • resolution: Unresolved
  • votes: 1
  • watchers: 4
  • imported: 20251211-141027

Raw content of original issue

Adding the event object that triggered the build will expose more information. E.g in case of BitbucketServerPullRequestEvent it will allow to know within the pipeline what are the source and target branch without querying Bitbucket 

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.