Thanks Jesse for the quick response.

Is there a guide to understand how I can get build from the Queue Item I
have?

On Mon, Jul 24, 2023 at 4:25 PM 'Jesse Glick' via Jenkins Developers <
[email protected]> wrote:

> On Mon, Jul 24, 2023 at 1:58 AM tzach solomon <[email protected]>
> wrote:
>
>> I've checked the code and it looks like the triggered job is of class
>> *WorkflowMultiBranchProject*. The future job I'm getting once scheduled
>> OK is *jenkins.branch.MultiBranchProject$BranchIndexing*.
>>
>> I've tried to inject environment variables into it by using the already
>> existing class *BitBucketPayload* which looks like this *BitBucketPayload
>> extends InvisibleAction implements EnvironmentContributingAction*
>>
>> My problem is that the *buildEnvironment* method isn't called.
>>
>
> Nor should it be. That is an extension point for builds. You are
> discussing branch indexing. Maybe you are looking in the wrong place.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr1d4PqcO4LGmFrOhw%2B73DypfCvJE65QeMt9OMr4rKQ2ow%40mail.gmail.com
> <https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr1d4PqcO4LGmFrOhw%2B73DypfCvJE65QeMt9OMr4rKQ2ow%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CAC19wgL1OA0wVymHR8SahGrr0iNkjBxqnx1JKd3hQPSsJLsajw%40mail.gmail.com.

Reply via email to