Duplicate commits displayed on Pipeline build when using "Poll SCM" and "Pipeline script from SCM"

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      • Pipeline script has checkout step in it, checking out from TFS: 
        • checkout([changelog: false, $class: 'TeamFoundationServerScm', credentialsConfigurer: [$class: 'AutomaticCredentialsConfigurer'], projectPath: '$/pathToProject/', serverUrl: 'https://serverUrl/', useOverwrite: true, useUpdate: false, userName: 'usrName', workspaceName: 'Hudson-${JOB_NAME}-${NODE_NAME}'])

       

      • Pipeline job has Poll SCM enabled
      • Pipeline job set up to use Pipeline script from SCM

       

      Upon Poll SCM seeing a changeset, builds are correctly triggered. However, commits are shown three times each (see attached image), which messes up the logs. I cannot find a way around this; changelog is set to false in the checkout. 

       

        1. jenkinsCommit.png
          26 kB
          Angelo Loria
        2. jenkinsCommitPage.png
          24 kB
          Angelo Loria

            Assignee:
            redsolo
            Reporter:
            Angelo Loria
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: