Details
-
Bug
-
Status: Resolved (View Workflow)
-
Major
-
Resolution: Fixed
-
centos 6
Jenkins 1.532.2 - 1.555 - 1.563
Gerrit Trigger 2.11.0
Description
If Gerrit triggers create a queue in the Pending Jobs column in the project page, it will insert build parameters/metadata about the trigger: GERRIT_EVENT_TYPE, GERRIT_EVENT_HASH, etc.
If this metadata is long, it will distort the project page to be visually unusable.
Would like a way to either turn of or truncate this display of Gerrit metadata.
Attachments
Issue Links
- is blocking
-
JENKINS-23421 Parameter value should be always displayed as human-readable
-
- Closed
-
- is duplicated by
-
JENKINS-23064 Limit the build parameters (string) shown for pending builds
-
- Resolved
-
-
JENKINS-25428 Pending Gerrit Job details overlay the whole jenkins screen
-
- Resolved
-
- links to
Activity
Field | Original Value | New Value |
---|---|---|
Assignee | rsandell [ rsandell ] | Eric Griswold [ eric_griswold ] |
Attachment | eric.griswold-shot-window-0x1c25fe5.png [ 25606 ] |
Component/s | core [ 15593 ] | |
Assignee | Eric Griswold [ eric_griswold ] | rsandell [ rsandell ] |
Component/s | gerrit-trigger [ 15731 ] | |
Assignee | rsandell [ rsandell ] |
Labels | build-history build-queue jenkins parameterized-trigger parameters ui ux |
Link |
This issue is duplicated by |
Description |
If Gerrit triggers create a queue in the Pending Jobs column in the project page, it will insert metadata about the trigger: GERRIT_EVENT_TYPE, GERRIT_EVENT_HASH, etc. If this metadata is long, it will distort the project page to be visually unusable. Would like a way to either turn of of truncate this display of Gerrit metadata. |
If Gerrit triggers create a queue in the Pending Jobs column in the project page, it will insert build parameters/metadata about the trigger: GERRIT_EVENT_TYPE, GERRIT_EVENT_HASH, etc. If this metadata is long, it will distort the project page to be visually unusable. Would like a way to either turn of or truncate this display of Gerrit metadata. |
Environment |
centos 6 Jenkins 1.532.2 Gerrit Trigger 2.11.0 |
centos 6 Jenkins 1.532.2 - 1.555 - 1.563 Gerrit Trigger 2.11.0 |
Priority | Minor [ 4 ] | Major [ 3 ] |
Summary | gerrit trigger can cause unwieldy build history when there are pending jobs | Large number of build parameters for pending jobs (e.g.gerrit triggered job) can cause unwieldy build history |
Component/s | gerrit-trigger [ 15731 ] | |
Component/s | core [ 15593 ] |
Component/s | core [ 15593 ] | |
Component/s | gerrit-trigger [ 15731 ] |
Link |
This issue is blocking |
Attachment | Screen Shot 2014-10-24 at 10.49.26.png [ 27836 ] |
Labels | build-history build-queue jenkins parameterized-trigger parameters ui ux | build-history build-queue jenkins parameterized-trigger parameters ui user-experience ux |
Link |
This issue is duplicated by |
Assignee | Daniel Beck [ danielbeck ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Remote Link | This issue links to "PR 1492 (Web Link)" [ 11930 ] |
Resolution | Fixed [ 1 ] | |
Status | In Progress [ 3 ] | Resolved [ 5 ] |
Labels | build-history build-queue jenkins parameterized-trigger parameters ui user-experience ux | build-history build-queue jenkins lts-candidate parameterized-trigger parameters ui user-experience ux |
Labels | build-history build-queue jenkins lts-candidate parameterized-trigger parameters ui user-experience ux | 1.596.2-fixed build-history build-queue jenkins parameterized-trigger parameters ui user-experience ux |
Workflow | JNJira [ 154392 ] | JNJira + In-Review [ 194899 ] |
"metadata is long" means that a parameter has long value?
If so, I think this is mainly jenkins issue.
AFAIK, it is GERRIT_CHANGE_COMMIT_MESSAGE only. Because this is multi-line text, others are single-line.
So StringParameterValue class should be replaced to TextParameterValue.
But it would not be solved. ParameterValue which is extended by both StringParameterValue and
TextParameterValue has 2 methods for description.
In Javadoc, getShortDescription() requires one-line string as return value. I think this is truncation spec
you mentioned.
http://javadoc.jenkins-ci.org/hudson/model/ParameterValue.html#getShortDescription()
But, as of now, TextParameterValue which extends StringParameterValue does not have any overrided
methods for getShortDescription().
https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/hudson/model/TextParameterValue.java
It means that TextParameterValue#getShortDescription returns the same value as StringParameterValue's one.
So, unfortunately, it is hard to solve this issue only by plugin fixes.
If "metadata is long" means a lot of parameters, it is also Jenkins issue.
Jenkins does not have the way to reduce the display number of parameters from plugin side.