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

Bitbucket plugin add example how to specify the overrideUrl in job-dsl

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      In job-dsl, the Bitbucket trigger is specified like this:

      triggers {
          bitbucketPush()
      }

      How to specify the overrideUrl?
      This information should be added to https://plugins.jenkins.io/bitbucket/

      Update: Figured it out. Someone could add this to the linked plugin page.

      triggers{
        bitbucketPush{
          overrideUrl('https://bitbucket.org/blabla/hello-world-server')
        }
      }

       

        Attachments

          Activity

          Hide
          tzach_solomon Tzach Solomon added a comment -

          Added. Thanks Thomas Rusche!

          Show
          tzach_solomon Tzach Solomon added a comment - Added. Thanks Thomas Rusche !

            People

            Assignee:
            tzach_solomon Tzach Solomon
            Reporter:
            rusche Thomas Rusche
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: