1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/plugins/modules/web_infrastructure
patchback[bot] 82225e5850
jenkins_build: Support stop a running Jenkins build (#2850) (#2861)
* Support stop a running Jenkins build. Meanwhile enrich document content and test cases.

* Fix the inconsistencies regarding the function name.

* Submit the changelog and fix a PEP8 issue.

* Remedy whitespace related PEP8 issues.

* Implement the idempotent test case for the stop build function.

* Make sure it returns proper changed status when we stop a build repeatedly.

* Fix incorrect usages on comparison with True or False and incorrect usages on validating the changed status.

* In this mocking situation, adjust the mock return value and test case to perform unit testing.

* Implement JenkinsMockIdempotent() to mock return value in idempotent test cases.

* Fix issues reported by CI.

* Refactor the code to avoid CI exception and remove get_build_status() from mock function as they should not be there.

* Update plugins/modules/web_infrastructure/jenkins_build.py

Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 860b2b89a3)

Co-authored-by: Tong He <68936428+unnecessary-username@users.noreply.github.com>
2021-06-24 05:22:41 +00:00
..
sophos_utm Fix a bunch of potential security issues (secret leaking) (#1736) 2021-02-08 16:33:18 +01:00
apache2_mod_proxy.py apache2_mod_proxy - minor improvements/fixes (#2142) 2021-04-01 07:50:24 +02:00
apache2_module.py Apache2 module: Add another shib module identifier (#1383) 2020-11-26 07:26:40 +01:00
deploy_helper.py deploy_helper: fix a bug when not defining release on state=clean (#1859) 2021-02-22 09:12:21 +01:00
django_manage.py Remove deprecated features scheduled for removal in 3.0.0 (#1926) 2021-03-09 21:23:20 +01:00
ejabberd_user.py Enabling validation-modules for web_infrastructure modules (#1200) 2020-10-31 13:53:57 +01:00
gunicorn.py Enabling validation-modules for web_infrastructure modules (#1200) 2020-10-31 13:53:57 +01:00
htpasswd.py Enabling validation-modules for web_infrastructure modules (#1200) 2020-10-31 13:53:57 +01:00
jboss.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
jenkins_build.py jenkins_build: Support stop a running Jenkins build (#2850) (#2861) 2021-06-24 05:22:41 +00:00
jenkins_job.py jenkins_job - added validate_certs parameter, setting the PYTHONHTTPSVERIFY env var (#1977) 2021-03-11 22:06:57 +01:00
jenkins_job_info.py Remove deprecated modules scheduled for removal in 3.0.0 (#1924) 2021-04-13 11:19:25 +00:00
jenkins_plugin.py jenkins_plugin: HTTP Error 405: Method Not Allowed on disable/enable plugin #2510 (#2511) (#2619) 2021-05-26 07:22:03 +02:00
jenkins_script.py Enabling validation-modules for web_infrastructure modules (#1200) 2020-10-31 13:53:57 +01:00
jira.py Add comment_visibility parameter for comment operation for jira module (#2556) (#2566) 2021-05-20 23:18:41 +02:00
nginx_status_info.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
rundeck_acl_policy.py Tidy up all pylint:blacklisted-name ignore lines (#1819) 2021-02-16 08:03:51 +01:00
rundeck_project.py Enabling validation-modules for web_infrastructure modules (#1200) 2020-10-31 13:53:57 +01:00
supervisorctl.py Enabling validation-modules for web_infrastructure modules (#1200) 2020-10-31 13:53:57 +01:00
taiga_issue.py Enabling validation-modules for web_infrastructure modules (#1200) 2020-10-31 13:53:57 +01:00