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

Jenkins Pipeline - allow users to update git sub modules before reading pipeline jenkinsFile

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • pipeline
    • None

      Im not sure if this is the correct component. But In Jenkins Pipeline scm there is no additional behavior for updating git submodules before the pipeline file is read.

      In our scenerio we have attached a git submodule to our project repo. This contains our pipeline configuration. We need to update this submodule to latest in git before the pipeline file is read into jenkins. In additional Behaviors -> advanced submodule behaviours only updates submodules after the JenkinsFile is read. We want to have another behavior that happens pre reading the jenkinfile for the pipeline to update the submodules first.

       

      We have a work around for this currently as we use the pipeline script to update the git submodule and then loads our pipeline file. Using the load command. But I feel we shouldn't need to have to do it this way. Plus blue ocean seems to have issues displaying our pipeline. Which is the other bug that I've written

            Unassigned Unassigned
            geraldglennon Gerald Glennon
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: