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

Pipeline editor not working if Script Path is set

      I have created a pipeline from a GitHub repository. Inside this repository, there is a subfolder called jenkins with a Jenkinsfile inside, just like in the example app: https://github.com/jenkins-docs/creating-a-pipeline-in-blue-ocean. Blue Ocean prompted me to design a new pipeline. Instead, I went to the settings and set the Script Path manually to 'jenkins/Jenkinsfile':

      It does work as intended. The hooks are activated and the pipeline is run properly, but if I try to edit the pipeline using pipeline editor, it shows an empty pipeline. If I do implement a pipeline in the editor and save it, a Jenkinsfile is created in the root of my repository.

      It seems the pipeline editor is not getting the Jenkinsfile path from 'Script Path' setting

          [JENKINS-50328] Pipeline editor not working if Script Path is set

            lanwen Kirill Merkushev
            vitor Vitor Durante
            Votes:
            5 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: