Cant open Blue Ocean visual pipeline editor

前端 未结 2 1764
無奈伤痛
無奈伤痛 2021-02-10 04:54

Recently I installed Blue Ocean plugin, but I can\'t find out how to edit or create pipeline using plugin\'s UI.

When I create new pipeline in Blue Ocean and connect wit

相关标签:
2条回答
  • 2021-02-10 05:25

    Blue Ocean's pipeline editor does not seem to work properly, cause it still in development.

    Although, I have found walk-around. To be able to edit script in fancy visual editor you have to open editor's sandbox-mode page:

    [your_jenkins_URL/blue]/organizations/jenkins/pipeline-editor/

    Then you have to use magic shortcut Ctrl+S (cause buttons are old-fashioned). Ta-da you now have access to code of displayed things.

    Feel free to paste your code and copy back after making changes using this app.

    0 讨论(0)
  • 2021-02-10 05:31

    You can install the replay pipeline feature available in jenkins. This will allow you to edit your Jenkinsfile and re-run it without committing the changes to your original file (can be done for n number of times). So once you are satisfied with your Jenkinsfile, then you can commit those changes in your original file.

    Refer to below link to know more about usage of replay pipeline feature : https://jenkins.io/doc/book/pipeline/development/

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