Skip to content
This repository has been archived by the owner. It is now read-only.
Browse files
[FIXED JENKINS-22295] Added fake URL so that graph is updated immedia…
…tly after configuration change.
  • Loading branch information
uhafner committed May 9, 2016
1 parent 1ce9dcd commit ed66289f11c453af8e89e50a19c9dde95528b8c4
@@ -238,6 +238,17 @@ public boolean isTrendVisible(final StaplerRequest request) {
return configuration.isVisible() && configuration.hasMeaningfulGraph();

* Returns the ID of the selected trend graph.
* @return ID of the selected trend graph
public String getTrendGraphId() {
GraphConfigurationView configuration = createUserConfiguration(Stapler.getCurrentRequest());

return configuration.getGraphType().getId();

* Returns whether the trend graph is deactivated.
@@ -65,6 +65,7 @@ Trend.type.priority=Gesamtanzahl an Warnungen verteilt nach Priorit
Trend.type.fixed=Verhältnis von behobenen zu neuen Warnungen
Trend.type.difference=Differenz zwischen behobenen und neuen Warnungen (aufsummierte Werte) der Gesamtanzahl an Warnungen mit Einfärbung anhand der erreichten Grenzwerte des Gesundheitszustandes
Trend.type.totals=Gesamtanzahl an Warnungen

ResultAction.Status=Plug-in Resultat:
ResultAction.NoWarningsSince=Keine Warnungen seit Build {0}
@@ -7,7 +7,9 @@
<img src="${from.urlName}/trendGraph/png" lazymap="${from.urlName}/trendGraph/map" />
<!-- Note that the parameter ?url=${from.trendGraphId} is not used by the graph: it
has been added to provide different URLs so that the images are not cached by the browser. -->
<img src="${from.urlName}/trendGraph/png?url=${from.trendGraphId}" lazymap="${from.urlName}/trendGraph/map?url=${from.trendGraphId}" />
<a href="${from.urlName}/trendDetails">${%Enlarge}</a>

0 comments on commit ed66289

Please sign in to comment.