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

Option to use author instead of commiter in declarative pipeline

      Problem
      Right now when adding a GitHub source in Blue Ocean every change merged from a pull request is being shown as "Changes from noreply". This also impacts all plugins that rely on the commiters for a build since it effectively hides the actual authors (including when using `email-ext` or `mailer`).

      Since changing the default behaviour might be a breaking change, an option should be added to the pipeline so that each agent uses the correct strategy for the checkout.

      (in `git-plugin` this is called `AuthorInChangelog`)

      Scope

      • Switch to displaying the Author information for Git repositories (instead of Committer)

          [JENKINS-43348] Option to use author instead of commiter in declarative pipeline

          Roch Devost created issue -

          Roch Devost added a comment -

          I am actually wondering if this should be reported as a bug instead, since the GitHub source is basically incompatible with GitHub.

          Roch Devost added a comment - I am actually wondering if this should be reported as a bug instead, since the GitHub source is basically incompatible with GitHub.
          James Dumay made changes -
          Issue Type Original: New Feature [ 2 ] New: Bug [ 1 ]

          James Dumay added a comment -

          I don't think that the core API for change sets can differentiate between committer and author. I'd strongly suggest either it is updated to support that or we switch from one to another.

          James Dumay added a comment - I don't think that the core API for change sets can differentiate between committer and author. I'd strongly suggest either it is updated to support that or we switch from one to another.
          James Dumay made changes -
          Labels New: pipeline-improvement
          James Dumay made changes -
          Epic Link New: JENKINS-35750 [ 171713 ]
          James Dumay made changes -
          Sprint New: Blue Ocean 1.2 [ 296 ]
          Stephen Connolly made changes -
          Epic Link Original: JENKINS-35750 [ 171713 ] New: JENKINS-43426 [ 180671 ]
          Stephen Connolly made changes -
          Assignee Original: Andrew Bayer [ abayer ]
          James Dumay made changes -
          Rank New: Ranked lower

            Unassigned Unassigned
            rochdev Roch Devost
            Votes:
            2 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated: