This issue is archived. You can view it, but you can't modify it. Learn more

ExportXMLWordPrintable

    • 254.v9d8ec33a_7a_42

      Firstly, thank you for your timely help with JENKINS-65651.

      Now our Bitbucket multi-branch pipeline job is being triggered however the BITBUCKET_PAYLOAD environment variable is not set; this is the main reason I am considering using this plugin over the generic Git one.

      Looking into the code I see we have two trigger types BitBucketTrigger and BitBucketMultibranchTrigger. Specifically, the BitBucketTrigger has a onPost method that the BitBucketMultibranchTrigger does not have; this onPost method seems to do the work of injecting the payload from Bitbucket into the BITBUCKET_PAYLOAD env var.

      Some questions/ideas:

      • Does there need to be two types of triggers for single vs. multi-branch pipelines?
      • If each needs its own trigger then could most of the BITBUCKET_PAYLOAD insertion logic be re-used perhaps via an abstract base class?

            Assignee:
            Tzach Solomon
            Reporter:
            Friedrich Clausen
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: