Jump to content
Mikael Kalms

BlueOcean build view doesn't display changeset descriptions for some builds

Recommended Posts

I have installed the Jenkins Plastic 2.11 plugin update recently. It is working well so far: builds are triggered when they should, and not triggered when they should not.

I have noticed one discrepancy though; the BlueOcean UI is sometimes not displaying the changeset descriptions for certain builds. The underlying triggering does work correctly; this is just a presentation problem.

 

Changeset descriptions are picked up correctly by Jenkins' classic pipeline view:

image.thumb.png.de0cc97ceff624cdd44aa893837e1350.png

 

Build jobs are performed with the appropriate changeset checked out on the Jenkins slave:

image.thumb.png.5939407823ca37e8b6b7afabec199169.png

image.thumb.png.08a3e8376dca137c309215b59fac26a4.png

image.thumb.png.53ef7d3b88f848353df323c41b5c134c.png

image.thumb.png.d6a94199258ac12f6b978f46c7e2a016.png 

 

Changeset descriptions are not always displayed in Blue Ocean though:

image.thumb.png.8d41eb251bfd44549935e67cbbfd07b8.png

 

So build #1500 and #1502 should have changeset descriptions displayed in Blue Ocean's Pipeline view, but for some reason they do not.

Share this post


Link to post
Share on other sites

Thanks Mikael,

 

We are fully aware of it and we expect to be fixing it shortly.

 

We are doing lots of CI/DevOps work these days, and this one is in the list.

  • Like 1

Share this post


Link to post
Share on other sites

Hi Mikael,

Sorry for the inconveniences and thank you for your feedback.

Regarding the issues,

Issue 1: The changeset number is not filled/drawn in the GUI.
* I am able to reproduce the issue with a git repo.
* It is a bug in the Blue Ocean plugin: https://issues.jenkins-ci.org/browse/JENKINS-46521

blue-ocean-git-activity-view.thumb.png.e31b4ff2878a24fa8d96e94453a08f01.png

blue-ocean-git-run-details-view-pipeline-tab.thumb.png.c7957c7e38f13c2c9cf791040fcd0809.png

blue-ocean-git-run-details-view-changes-tab.thumb.png.7a0d04b8e33165ec174e5bf1b47c78d4.png

 

Issue 2: If a build includes multiple changesets, it will only render one of them when clicking in the detail.
* The next release will contain the fix. :)
blue-ocean-plastic-run-details-view-changes-tab.thumb.png.fde6c7f66fb187a7e1d47091c24cb848.png

Best regards,
Míryam

Share this post


Link to post
Share on other sites

Hi,

Status update for how the Blue Ocean plugin is working:

The last month's Plastic plugin fixes have improved the display a lot. Thanks for that!

 

Remaining problem 1: the "commit" column is blank in Blue Ocean's Pipeline view (probably core Jenkins bug, https://issues.jenkins-ci.org/browse/JENKINS-46521)

Remaining problem 2: Blue Ocean's Pipeline view sometimes doesn't display associated changeset info (probably also a core Jenkins bug, can't find any JIRA on it though). Details on that below...

 

The classic Pipeline view is accurate and displays one change per changeset (I am using light-weight checkout, which avoids another bug in Jenkins where changes are listed twice in the classic Pipeline view):

image.thumb.png.6f06eddcfd616a65df78435591ab3a80.png

However, for some of these jobs, the Blue Ocean pipeline view will show "Started by an SCM change" as message. This message is shown when there is no new commit paired with the build job:

image.thumb.png.267ab5e3a2605237f4d7319e75838aca.png

Now if I go in and look at details for a specific job - in this case, job 1662 - then it will show correct change information for that job (so that view has changeset information associated with it):image.thumb.png.994ad076635149963260ebd3b19bf7bf.png

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×