Files
community.general/plugins/modules
Tong He 860b2b89a3 jenkins_build: Support stop a running Jenkins build (#2850)
* 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>
2021-06-23 23:29:50 +02:00
..
2021-06-19 14:42:05 +02:00
2021-01-27 19:30:03 +01:00
2020-06-10 21:01:16 +03:00
2021-03-04 07:46:37 +01:00
2020-07-17 07:39:37 +03:00
2021-06-04 07:08:54 +02:00
2021-05-13 21:48:49 +02:00
2020-08-11 17:54:41 +02:00
2021-01-28 07:26:48 +01:00
2021-02-16 11:46:39 +01:00
2020-08-18 09:10:41 +02:00