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

pipeline-editor always commit to default jenkinsfile

XMLWordPrintable

      Hi,

      When we use more than one Jenkinsfile in different jobs, you can see screenshot 1, pipeline scans the right 'Jenkinsfile-prd' for example(screenshot2). And when execute the pipeline it also use the right 'Jenkinsfile-prd'(screenshot3).

      But when use http://<jenkins_url>/blue/organizations/jenkins/pipeline-editor/<jobname>/<branch> to edit pipeline, it always shows the default Jenkinsfile and only can commit to default Jenkinsfile.(screenshot4).

      It seems /blue/organizations/jenkins/pipeline-editor/ always read the default Jenkinsfile and ignored the Build Configuration--Script Path.

      The difference between 2 Jenkinsfiles are environment: env in this example.

        1. jenkinsBUG1.png
          34 kB
          Wang You
        2. JenkinsBug2.png
          36 kB
          Wang You
        3. screenshot1.png
          91 kB
          Sam Zhao
        4. screenshot2.png
          85 kB
          Sam Zhao
        5. screenshot3.png
          79 kB
          Sam Zhao
        6. screenshot4.png
          34 kB
          Sam Zhao

            jamesdumay James Dumay
            ms3cat Sam Zhao
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: