mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
82225e5850
* 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
|
||
---|---|---|
.. | ||
.keep | ||
1942_timezone.yml | ||
2411-snap-revamp-enabled-disabled-states.yml | ||
2521-flatpak-list.yml | ||
2691-gitlab_user-support-identity-provider.yml | ||
2732-nmcli_add_options.yml | ||
2771-scaleway_inventory_json_accept_byte_array.yml | ||
2774-datadog_event_api_parameter.yml | ||
2779_redhat_subscription-add_server_prefix_and_server_port.yml | ||
2790-callback_splunk-batch-option.yml | ||
2821-ipa_sudorule.yml | ||
2830-npm-version-update.yml | ||
2841-proxmox_kvm_zfs_devstr.yml | ||
2844-ali_instance_info-deprecate-params.yml | ||
2845-serverless-deprecate-functions-param.yml | ||
2850-jenkins_build-support-stop-jenkins-build.yml | ||
gem_module_add_bindir_option.yml |