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

Email-Ext groovy.template does show wrong changes

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • git-plugin, scm-api-plugin
    • None
    • master node ubunut x64
      slave node windows10 x64

      I use the groovy template from email-ext in a multibranch pipeline (blue ocean).
      However, for unknown reason the email contains in the changed section hundreds of files, which where not touched in the commit (they are all from the 3rdpart directory in the src repo) but totally unrelated to any changes.

        1. git_log.jpg
          git_log.jpg
          153 kB
        2. my-html.template
          6 kB
        3. installed_plugins.txt
          8 kB
        4. email-ext-changes.jpg
          email-ext-changes.jpg
          160 kB

          [JENKINS-51221] Email-Ext groovy.template does show wrong changes

          Zack Snyder created issue -
          Zack Snyder made changes -
          Description Original: I use the groovy template from email-ext in a multibranch pipeline (blue ocean).
          However, for unknown reason the email contains in the changed filed hundreds of files, which where not touched in the commit (they are all from the 3rdpart directory in the src repo)
           !email-ext-changes.jpg|thumbnail!
          New: I use the groovy template from email-ext in a multibranch pipeline (blue ocean).
          However, for unknown reason the email contains in the changed section hundreds of files, which where not touched in the commit (they are all from the 3rdpart directory in the src repo) but totally unrelated to any changes.

           !email-ext-changes.jpg|thumbnail!

          This is not a problem with emailext it purely asks the SCM api for the list of changes.

          David van Laatum added a comment - This is not a problem with emailext it purely asks the SCM api for the list of changes.

          Zack Snyder added a comment -

          Okay, maybe the API has changed and you have to use something different?
          Is there something I can do to fix it?

          Zack Snyder added a comment - Okay, maybe the API has changed and you have to use something different? Is there something I can do to fix it?

          what does the build page show for changes. If it doesn't agree with whats in the email then its a bug otherwise its either correct or a bug in the SCM api

          David van Laatum added a comment - what does the build page show for changes. If it doesn't agree with whats in the email then its a bug otherwise its either correct or a bug in the SCM api
          Zack Snyder made changes -
          Attachment New: git_log.jpg [ 42562 ]

          Zack Snyder added a comment - - edited

          See the attached git log:

          It seems to be a bug in git SCM...

          PS: Can you change the assignee to the correct developer?

          Zack Snyder added a comment - - edited See the attached git log: It seems to be a bug in git SCM... PS: Can you change the assignee to the correct developer?
          Zack Snyder made changes -
          Component/s New: git-plugin [ 15543 ]
          Component/s New: scm-api-plugin [ 18054 ]
          David van Laatum made changes -
          Component/s Original: email-ext-plugin [ 15538 ]
          David van Laatum made changes -
          Assignee Original: David van Laatum [ davidvanlaatum ] New: Mark Waite [ markewaite ]

            Unassigned Unassigned
            zack Zack Snyder
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: