Where is the Blue Ocean pipeline editor?

£可爱£侵袭症+ 提交于 2019-12-03 01:44:37
Prashant Kajale

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

konstin

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.

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.

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

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

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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!