jenkinsci / pipeline-graph-view-plugin

https://plugins.jenkins.io/pipeline-graph-view/
Other
107 stars 55 forks source link

Selected node in URL is not updated - hard to generate deep links #508

Open sparrowt opened 1 week ago

sparrowt commented 1 week ago

Jenkins and plugins versions report

Environment Jenkins version = `2.462.2` pipeline-graph-view = `340.v28cecee8b_25f`

What Operating System are you using (both controller, and any agents involved in the problem)?

Ubuntu 22.04

Reproduction steps

  1. From the 'Pipeline Overview' e.g. JENKINS/job/MYJOB/job/master/1840/pipeline-graph/ click on 1 stage
  2. This takes you to the 'Pipeline Console' with the relevant stage selected e.g. .../1840/pipeline-console/?selected-node=90
  3. Click on a different stage in the left hand side bar

Expected Results

The address bar URL should be updated so that when you copy/paste it to send someone else (or paste on a ticket) the link to a specific section of logs, it is pointing to the bit you were looking at.

Actual Results

The URL in the address bar still points at whichever stage you first looked at and so you're likely to share the wrong link.

Anything else?

The workaround (once you've realised the problem) is to go back to the overview and click on the node you want in order to obtain a deep link

Are you interested in contributing a fix?

No response