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
Tong He 7610501c66
Fix a logical flaw when deleting a build in the jenkins_build module (#5514)
* Fix the logical flaw when deleting a build in the jenkins_build module.

* Fix the logical flaw when deleting a Jenkins build in the jenkins_build module.

* Adding changelogs.

* Update tests/unit/plugins/modules/test_jenkins_build.py

Co-authored-by: Felix Fontein <felix@fontein.de>

* Attempt to mock the exception classes.

* Remedy the CI issues when mocking the exception classes.

* Assuming a way to mock the get_build_status function.

* Near to the feasible approach.

* Calls the correct class when unit testing.

* Fix sending wrong arguments when unit testing.

* Directly assign the argument value in the unit testing.

* Fix errors calling different classes.

Co-authored-by: Felix Fontein <felix@fontein.de>
2022-11-10 21:18:01 +01:00
..
action Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
become Make pfexec become usable for illumos (#3889) 2022-10-05 08:26:40 +02:00
cache Normalize more booleans. (#5247) 2022-09-06 20:42:17 +02:00
callback Remove deprecated features, bump version to 6.0.0 (#5326) 2022-10-25 08:07:21 +02:00
connection Fix linting errors; fix some real bugs (#5111) 2022-08-12 11:07:30 +02:00
doc_fragments Document attributes (_info and _facts modules for now) (#5481) 2022-11-06 21:16:43 +01:00
filter Clarification to use underscores instead of dashes in parser name (#5500) 2022-11-08 20:06:59 +01:00
inventory proxmox inventory, remove redundant and simplify code (#5437) 2022-11-01 07:33:54 +01:00
lookup onepassword_raw - Add missing parameter to doc string (#5511) 2022-11-09 07:28:49 +01:00
module_utils Allow for DN's to have {x} prefix on first RDN (#5450) 2022-11-05 12:43:28 +01:00
modules Fix a logical flaw when deleting a build in the jenkins_build module (#5514) 2022-11-10 21:18:01 +01:00
test Fix more copyright lines, add more default copyright lines (#5095) 2022-08-08 14:24:58 +02:00