Gitlab-plugin: If BlueOcean is installed, build URL does not point to BlueOcean

Created on 3 Mar 2017  路  4Comments  路  Source: jenkinsci/gitlab-plugin

Issue

Context

  • Gitlab plugin version: 1.4.5
  • Gitlab version: 8.4.3
  • Jenkins version: 2.45
  • Job type: Multibranch Pipeline
  • BlueOcean version: 1.0.0-b24

Problem description

When I visit the build link in Gitlab:
screen shot 2017-03-03 at 2 46 28 pm

it points to the classic Jenkins build URL:
screen shot 2017-03-03 at 2 48 45 pm

instead of opening the link in BlueOcean:
screen shot 2017-03-03 at 2 50 47 pm

feature request fix-pending

Most helpful comment

This has just been released in plugin version 1.5.2. It will be in the update center within a few hours.

Hi,
Is it possible to control which Jenkins view can be opened ? I want my classic to be opened and Blue-ocean view is the now my default view.
Thanks In Advanced,

All 4 comments

Well, I can see why. The plugin tells GitLab what the URL should be to refer back to the build. The Blue Ocean URL is going to be different. And given that a user can switch in and out of the Blue Ocean view at will, I don't see a great way to change this. Just detecting that you have the plugin installed does not necessarily mean that you are using it in all cases. It's still in beta because not all necessary features are implemented in it yet. Also, different users of the same Jenkins install may prefer to use the old view or Blue Ocean.

@i386 this is an interesting situation. Do you have any thoughts on how we should approach it, now or in the future?

@omehegan I filed a PR for this but I am not sure if I found all the right places. Should be enough to go on if you want to continue :)

This has just been released in plugin version 1.5.2. It will be in the update center within a few hours.

This has just been released in plugin version 1.5.2. It will be in the update center within a few hours.

Hi,
Is it possible to control which Jenkins view can be opened ? I want my classic to be opened and Blue-ocean view is the now my default view.
Thanks In Advanced,

Was this page helpful?
0 / 5 - 0 ratings