Skip to content

Commit a4a5521

Browse files
authored
Merge pull request #67 from MarkEWaite/fix-job-summary-graph
[JENKINS-67098] Render summary graph with GET or POST
2 parents a20eb23 + e745444 commit a4a5521

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/main/java/hudson/plugins/testng/TestNGProjectAction.java

+2-3
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
import org.kohsuke.stapler.Stapler;
2121
import org.kohsuke.stapler.StaplerRequest;
2222
import org.kohsuke.stapler.StaplerResponse;
23-
import org.kohsuke.stapler.verb.POST;
2423

2524
/**
2625
* Action to associate the TestNG reports with the project
@@ -107,7 +106,7 @@ public String getSearchUrl() {
107106
* @param rsp -
108107
* @throws IOException -
109108
*/
110-
@POST
109+
// @org.kohsuke.stapler.verb.POST // POST blocks graph rendering in groovy web page
111110
public void doGraph(final StaplerRequest req,
112111
StaplerResponse rsp) throws IOException {
113112
if (newGraphNotNeeded(req, rsp)) {
@@ -144,7 +143,7 @@ private boolean newGraphNotNeeded(final StaplerRequest req,
144143
return req.checkIfModified(t, rsp);
145144
}
146145

147-
@POST
146+
// @org.kohsuke.stapler.verb.POST // POST blocks rendering in groovy defined web page
148147
public void doGraphMap(final StaplerRequest req,
149148
StaplerResponse rsp) throws IOException {
150149
if (newGraphNotNeeded(req, rsp)) {

0 commit comments

Comments
 (0)