Where is the Blue Ocean pipeline editor?

后端 未结 6 1618
陌清茗
陌清茗 2021-02-04 03:31

Where is the pipeline editor located within the Blue Ocean Jenkins plugin?

I can see my pipeline jobs, and when clicking into these I cant see any links\\buttons that ta

相关标签:
6条回答
  • 2021-02-04 03:45

    In the Blue Ocean pipeline view, there's a pencil icon on the upper right that lets you edit. So if you click an entry under the Activity tab, if you click any run of the job it will take you to this (green indicates a successful run):

    An example URL for a pipeline named my-pipeline would be:

    http://localhost:8080/blue/organizations/jenkins/my-pipeline/detail/jenkins/1/pipeline

    0 讨论(0)
  • 2021-02-04 03:52

    Use following url to open the pipeline editor:
    http://<host>:<port>/jenkins/blue/organizations/jenkins/pipeline-editor/

    0 讨论(0)
  • 2021-02-04 03:55

    There is two possible reasons why the pipeline editor button isn't showing, either you're not logged in as a user or you're pipeline project is not into github repository.

    Blue ocean doesn't support yet generating pipelines with blueocean-pipeline-editor-plugin when your SCM is bitbucket or gitlab or any other git tool.

    The good news is that we will have editor support for Bitbucket and plain Git (which will include Gitlab) in our 1.3 release soon.

    You can find more details about this issue here

    0 讨论(0)
  • 2021-02-04 03:56

    There is an open bug where the editor links do not display when the job is moved to a folder.

    https://issues.jenkins-ci.org/browse/JENKINS-46441

    0 讨论(0)
  • 2021-02-04 04:00

    It is hidden and does not show up until you hover over. I suppose simply a bad UI design.

    1. Open Blue Ocean from a job.
    2. Select a branch from Branches.
    3. Hover over to the right and buttons will show up.
    4. Select "Edit" and the editor will open.

    0 讨论(0)
  • 2021-02-04 04:02

    In addition to Prashant Kajale's answer, you can edit a specific item with

    [Url of Jenkins]/blue/organizations/jenkins/pipeline-editor/[item-name]
    

    Edit: According to the issue tracker, saving doesn't work with none-github repositories. You have to go to [Url of Jenkins]/blue/organizations/jenkins/pipeline-editor/ and open the load/save dialog with Ctrl+S, paste you Jenkinsfile (if you have one yet), edit it, and then save it manually by using Ctrl+S and copy.

    0 讨论(0)
提交回复
热议问题