Skip to content

Commit 52d9d99

Browse files
ydli-aikhmarbaise
authored andcommitted
Fix JENKINS-56585 change to post method (#391)
* change get to post * add link to ReleaseNotes.md
1 parent a70da3c commit 52d9d99

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

ReleaseNotes.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,11 @@
6464
assignedLabel.getName()
6565
}
6666
```
67+
68+
* [JENKINS-56585][jissue-56585]
69+
70+
Change request method of `QuietDown()` to POST
71+
6772

6873
## Release 0.3.8
6974

@@ -1164,3 +1169,4 @@ TestReport testReport = mavenJob.getLastSuccessfulBuild().getTestReport();
11641169
[jissue-46445]: https://issues.jenkins-ci.org/browse/JENKINS-46445
11651170
[jissue-46472]: https://issues.jenkins-ci.org/browse/JENKINS-46472
11661171
[jissue-56186]: https://issues.jenkins-ci.org/browse/JENKINS-56186
1172+
[jissue-56585]: https://issues.jenkins-ci.org/browse/JENKINS-56585

jenkins-client/src/main/java/com/offbytwo/jenkins/JenkinsServer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,7 @@ public JenkinsServer addStringParam(String jobName, String name, String descript
660660
*/
661661
public JenkinsServer quietDown() throws IOException {
662662
try {
663-
client.get("/quietDown/");
663+
client.post("/quietDown/");
664664
} catch (org.apache.http.client.ClientProtocolException e) {
665665
LOGGER.error("quietDown()", e);
666666
}

0 commit comments

Comments
 (0)