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/changelogs/fragments
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
..
.keep Rename changelogs/fragments/.empty -> changelogs/fragments/.keep 2020-08-07 08:17:57 +02:00
1942_timezone.yml timezone: change warning to debug (#2789) (#2803) 2021-06-14 19:11:39 +02:00
2411-snap-revamp-enabled-disabled-states.yml snap - revamp + implementing enabled/disabled states (#2411) (#2542) 2021-06-22 19:21:29 +02:00
2521-flatpak-list.yml flatpak - allow to add/remove multiple flatpaks at once (#2521) (#2822) 2021-06-17 19:05:05 +02:00
2691-gitlab_user-support-identity-provider.yml gitlab_user: add support for identity provider (#2691) (#2852) 2021-06-21 21:55:34 +02:00
2732-nmcli_add_options.yml Nmcli add options (#2732) (#2842) 2021-06-19 15:00:21 +02:00
2771-scaleway_inventory_json_accept_byte_array.yml [scaleway inventory] Fix JSON object must be str, not 'bytes' (#2771) (#2783) 2021-06-11 13:23:41 +02:00
2774-datadog_event_api_parameter.yml datadog_event : Adding api_host as an optional parameter (#2775) (#2831) 2021-06-17 19:43:02 +02:00
2779_redhat_subscription-add_server_prefix_and_server_port.yml redhat_subscription: Add server_prefix and server_port as supported arguments (#2779) (#2814) 2021-06-16 09:39:52 +02:00
2790-callback_splunk-batch-option.yml callback_splunk - Add user-configurable event correlation id (#2790) (#2817) 2021-06-16 21:02:00 +02:00
2821-ipa_sudorule.yml fix sudorule_add_allow_command_group (#2821) (#2833) 2021-06-17 19:43:12 +02:00
2830-npm-version-update.yml npm - fix updating version specific modules (#2830) (#2839) 2021-06-18 22:50:24 +02:00
2841-proxmox_kvm_zfs_devstr.yml proxmox_kvm: Fix ZFS device string parsing (#2841) (#2846) 2021-06-20 13:05:16 +02:00
2844-ali_instance_info-deprecate-params.yml ali_instance_info - marked parameters for deprecation in c.g. 5.0.0 (#2844) (#2848) 2021-06-20 12:14:28 +00:00
2845-serverless-deprecate-functions-param.yml serverless - deprecating unused param (#2845) (#2847) 2021-06-20 12:14:37 +00:00
2850-jenkins_build-support-stop-jenkins-build.yml jenkins_build: Support stop a running Jenkins build (#2850) (#2861) 2021-06-24 05:22:41 +00:00
gem_module_add_bindir_option.yml gem_module: Add bindir option (#2837) (#2851) 2021-06-21 12:41:40 +02:00