mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
* define POST method for pluginManager api requests Jenkins makeEnable/makeDisable api requests requires to use POST method * add changelog fragment * fix my yoda lang thx to aminvakil Co-authored-by: Amin Vakil <info@aminvakil.com> * update changelog fragment Co-authored-by: Felix Fontein <felix@fontein.de> Co-authored-by: Amin Vakil <info@aminvakil.com> Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
d871399220
commit
6df3685d42
2 changed files with 4 additions and 1 deletions
|
@ -0,0 +1,2 @@
|
||||||
|
bugfixes:
|
||||||
|
- jenkins_plugin - use POST method for sending request to jenkins API when ``state`` option is one of ``enabled``, ``disabled``, ``pinned``, ``unpinned``, or ``absent`` (https://github.com/ansible-collections/community.general/issues/2510).
|
|
@ -696,7 +696,8 @@ class JenkinsPlugin(object):
|
||||||
self._get_url_data(
|
self._get_url_data(
|
||||||
url,
|
url,
|
||||||
msg_status="Plugin not found. %s" % url,
|
msg_status="Plugin not found. %s" % url,
|
||||||
msg_exception="%s has failed." % msg)
|
msg_exception="%s has failed." % msg,
|
||||||
|
method="POST")
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
|
Loading…
Reference in a new issue