Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-42342

Specify credentials (username and password) when auto-registering the webhooks

XMLWordPrintable

      Hello,

      I am trying to get any info regarding how to specify the Jenkins credentials when auto-registering the Web Hook in BitBucket:

      The UI option "Auto-register webhook", if checked, creates the proper WebHook in BitBucket when the project is created or updated.
      It works fine but specifies just the plain Jenkins URL in a WebHook.

      In our environment, we use a specific Jenkins user to trigger builds and need to edit the WebHook manually to add this user & password each time we create or update the project.

      Is there a way to specify the user & password that Jenkins will automatically add to the WebHook URL (like https://user:pass@jenkins-url)?
      Thank you in advance!

            amuniz Antonio Muñiz
            evgf Evgeny Faddeenkov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: