-
Improvement
-
Resolution: Fixed
-
Minor
-
None
-
Jenkins 2.263.3
Email Extension Plugin 2.81
My original Git multibranch pipeline needs additional dependent Git repositories which will be checked out in the first stage of the pipeline.
When a pipeline run fails then the developers recipientProviders: [developers()] of the original Git repository shall be notified only. Actually commiters/developers of changes in all (original and dependent) repositories are notified.
Is there a possibility to constrain the developers recipientProviders to developers of changes in one Git repository only?
Email Extension just calls Jenkins core API jenkins.scm.RunWithSCM#getChangeSets to get the list of changesets. The relevant code is in WorkflowRun and SCMStep. Offhand, you might want to try experimenting with setting changelog: false in your checkout step. If that doesn't work you'll have to dig a little deeper into how WorkflowRun and SCMStep are implemented. I doubt there is anything I can do in Email Extension to help with this problem.