-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Jenkins 2.107.1
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
- is duplicated by
-
JENKINS-51066 pipeline-editor always commit to default jenkinsfile
- Closed