Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-64855

Constrain recipientProviders to one Git repository in multi-repo Pipelines

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: email-ext-plugin
    • Labels:
      None
    • Environment:
      Jenkins 2.263.3
      Email Extension Plugin 2.81
    • Similar Issues:

      Description

      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?

        Attachments

          Activity

          Hide
          basil Basil Crow added a comment -

          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.

          Show
          basil Basil Crow added a comment - 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.

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            mrlov m l
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: