On Mon, Jul 24, 2023 at 1:58 AM tzach solomon <tzach.solo...@gmail.com> 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 jenkinsci-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr1d4PqcO4LGmFrOhw%2B73DypfCvJE65QeMt9OMr4rKQ2ow%40mail.gmail.com.