- We want to use the Blue Ocean Pipeline Visual Editor but the options are not available using Git.
- We want to create the Jenkinsfile in the repository automatically with Blue Ocean using Git.
- When I tried to create a new Jenkinsfile in Blue Ocean I received the message: “You don’t have any branches that contain a Jenkinsfile”.
Inside Beekeeper the Blue Ocean plugin version available are:
- For CJP 18.104.22.168 or lower - Blue Ocean plugin version: 1.1.7 or lower
- For CJP 22.214.171.124 or higher - Blue Ocean plugin version: 1.3.0 or higher
If your Blue Ocean plugin version is lower than 1.3.0 you have the options for creating a new Jenkinsfile inside a branch and use the Pipeline Visual Editor only for Github repositories.
If you use Git repository and you try to Blue Ocean plugin create a Jenkinsfile for you, you’ll obtain:
Blue Ocean 1.3.0 is the first version with the Pipeline Visual Editor for Git repositories. Prior versions require that you create the Jenkinsfile in the branch of your repository.
Blue Ocean versions 1.3.0 and later include both GitHub and native git “Pipeline” editing in the visual editor.
Earlier versions of Blue Ocean report “no Jenkinsfile” on Git repositories. Newer versions will offer to create a Jenkinsfile.
The Pipeline Visual Editor is not available for the Git option in the Blue Ocean plugin lower than 1.3.0. The Pipeline Visual Editor has been released for Git repositories with Blue Ocean version 1.3.0 and later:
For Github all these options are available for versions lower than 1.3.0