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

Option to suppress changelong when getting Pipeline Jenkinsfile from GitHub SCM

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      When pulling pipeline script from SCM, there is no way to suppress the changelog which is makes it difficult if not impossible to easily distinguish changelog items between changes to the script file and changes to the actual app source the pipeline is building.

      In this particular case I have a generic pipeline script stored in a controlled GitHub repository along with app specific properties files which are loaded to control what gets executed in the pipeline script. The pipeline script then pulls the actual application source code for the build from within it.

      No need for the changelog of the build to include entries from changes to the generic pipeline script nor the properties files. Only want it to include app code source changes.

        Attachments

          Issue Links

            Activity

            Hide
            jglick Jesse Glick added a comment -

            Only in that currently it does not load a changelog, more by accident than design.

            Show
            jglick Jesse Glick added a comment - Only in that currently it does not load a changelog, more by accident than design.
            Hide
            jglick Jesse Glick added a comment -

            I have a generic pipeline script stored in a controlled GitHub repository along with app specific properties files which are loaded to control what gets executed in the pipeline script. The pipeline script then pulls the actual application source code for the build from within it.

            So why are you using a multibranch project at all? Simpler to use a standalone project with script from SCM. The expectation of a multibranch project with Jenkinsfile is that in a typical build you will soon be calling checkout scm at least once.

            Show
            jglick Jesse Glick added a comment - I have a generic pipeline script stored in a controlled GitHub repository along with app specific properties files which are loaded to control what gets executed in the pipeline script. The pipeline script then pulls the actual application source code for the build from within it. So why are you using a multibranch project at all? Simpler to use a standalone project with script from SCM. The expectation of a multibranch project with Jenkinsfile is that in a typical build you will soon be calling checkout scm at least once.
            Hide
            cgrubbs Cory Grubbs added a comment -

            I'm not using the mulit-branch plugin. You're the one that changed my issue to the multi-branch plugin. I originally filed it under the workflow-aggregator plugin which is what I am using.

            Show
            cgrubbs Cory Grubbs added a comment - I'm not using the mulit-branch plugin. You're the one that changed my issue to the multi-branch plugin. I originally filed it under the workflow-aggregator plugin which is what I am using.
            Hide
            jglick Jesse Glick added a comment -

            Ah then this is just a duplicate of JENKINS-38659.

            (BTW the component is then workflow-cps-plugin.)

            Show
            jglick Jesse Glick added a comment - Ah then this is just a duplicate of JENKINS-38659 . (BTW the component is then workflow-cps-plugin .)
            Hide
            cgrubbs Cory Grubbs added a comment -

            I don't know if it's a duplicate of that issue or not but this is definitely a higher priority issue than Minor for me due to the mass confusion it is causing. I'll defer to you what the plugin is as all I can tell you is I downloaded and installed the workflow-aggregator plugin along with its dependencies. I wouldn't expect it to be that difficult to update the plugin so that whenever the Jenkinsfile is pulled from Scm there is an additional checkbox to ignore changelog which results in no changelog getting generated when the Jenkinsfile is retrieved.

            Show
            cgrubbs Cory Grubbs added a comment - I don't know if it's a duplicate of that issue or not but this is definitely a higher priority issue than Minor for me due to the mass confusion it is causing. I'll defer to you what the plugin is as all I can tell you is I downloaded and installed the workflow-aggregator plugin along with its dependencies. I wouldn't expect it to be that difficult to update the plugin so that whenever the Jenkinsfile is pulled from Scm there is an additional checkbox to ignore changelog which results in no changelog getting generated when the Jenkinsfile is retrieved.

              People

              • Assignee:
                Unassigned
                Reporter:
                cgrubbs Cory Grubbs
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: