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

XMLWordPrintable

    • Type: Task
    • Resolution: Fixed
    • Priority: Minor
    • Component/s: bitbucket-plugin
    • None

      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')
        }
      }

       

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

              Created:
              Updated:
              Resolved: