[JIRA] (JENKINS-59398) blueocean header should show who replayed a job run

0 views
Skip to first unread message

jsoref+jenkins@gmail.com (JIRA)

unread,
Sep 16, 2019, 4:06:02 PM9/16/19
to jenkinsc...@googlegroups.com
Josh Soref created an issue
 
Jenkins / Improvement JENKINS-59398
blueocean header should show who replayed a job run
Issue Type: Improvement Improvement
Assignee: Unassigned
Attachments: image-2019-09-16-15-59-46-428.png, image-2019-09-16-16-00-21-900.png
Components: blueocean-plugin, workflow-cps-plugin
Created: 2019-09-16 20:05
Priority: Minor Minor
Reporter: Josh Soref

I can look at a job header (e.g. /blue/organizations/.../detail/master/102/pipeline) and see this:

If I click: 

I'm taken to /job/.../master/102

Which shows "Started by user" (core/src/main/resources/hudson/model/Cause/UserCause/description.properties: started_by_user)

Note: I don't really need this for "push event to branch" as that is the reason.

This appears to be:

https://github.com/jenkinsci/workflow-cps-plugin/blob/9b768a42f60cc3389031646c24927fa062d444e1/src/main/resources/org/jenkinsci/plugins/workflow/cps/replay/Messages.properties#L4

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

jsoref+jenkins@gmail.com (JIRA)

unread,
Sep 16, 2019, 6:04:03 PM9/16/19
to jenkinsc...@googlegroups.com

jsoref+jenkins@gmail.com (JIRA)

unread,
Sep 16, 2019, 6:09:02 PM9/16/19
to jenkinsc...@googlegroups.com
Josh Soref commented on Improvement JENKINS-59398
 
Re: blueocean header should show who replayed a job run

I can see a couple of ways to do this:

  1. as in PR#323, changing the ReplayCause to report the user directly – there's a slight risk of showing the same information more than once.
  2. changing all clients of ReplayCause to do the same work – lots of consumers are stuck reinventing some code.
  3. changing blueocean to report (and try to flatten) all of the causes into this field – I don't think this will be particularly pretty (which is probably why it wasn't done already).

I don't really care which way it's implemented, I'd just like to see the information I need when I'm looking at blueocean.

 

Reply all
Reply to author
Forward
0 new messages