Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-10627

Parameters in git webhooks

    XMLWordPrintable

Details

    • We collect Bitbucket feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      I'd like to have git variables injected in webhooks functionality so I could notify branch specific resourses, etc.

      I.e, jenkins trigger works this way: you just add wehook for specific git repo

      http://myjenkins/git/notifyCommit?url=http://192.168.12.88:7990/scm/test/test.git

      I'd like to see, i.e, some variable for branch name so I could create a webhook that triggers jenkins jobs for specific branches, something like:

      http://myjenkins/git/notifyCommit?url=http://192.168.12.88:7990/scm/test/test.git&branch=${BRANCH_NAME}

      where BRANCH_NAME would be replaced with actual branch name.

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              039961c1fb9d Alaiksei Savanchuk
              Votes:
              2 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: