Skip to content

Commit

Permalink
Fix JENKINS-56585 change to post method (#391)
Browse files Browse the repository at this point in the history
* change get to post

* add link to ReleaseNotes.md
  • Loading branch information
ydli-ai authored and khmarbaise committed Apr 28, 2019
1 parent a70da3c commit 52d9d99
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions ReleaseNotes.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,11 @@
assignedLabel.getName()
}
```

* [JENKINS-56585][jissue-56585]

Change request method of `QuietDown()` to POST


## Release 0.3.8

Expand Down Expand Up @@ -1164,3 +1169,4 @@ TestReport testReport = mavenJob.getLastSuccessfulBuild().getTestReport();
[jissue-46445]: https://issues.jenkins-ci.org/browse/JENKINS-46445
[jissue-46472]: https://issues.jenkins-ci.org/browse/JENKINS-46472
[jissue-56186]: https://issues.jenkins-ci.org/browse/JENKINS-56186
[jissue-56585]: https://issues.jenkins-ci.org/browse/JENKINS-56585
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,7 @@ public JenkinsServer addStringParam(String jobName, String name, String descript
*/
public JenkinsServer quietDown() throws IOException {
try {
client.get("/quietDown/");
client.post("/quietDown/");
} catch (org.apache.http.client.ClientProtocolException e) {
LOGGER.error("quietDown()", e);
}
Expand Down

0 comments on commit 52d9d99

Please sign in to comment.