community.general/tests/unit/plugins
patchback[bot] ec87b44816
[PR #10170/52cd1049 backport][stable-11] jenkins_credentials: new module to manage Jenkins credentials (#10294)
jenkins_credentials: new module to manage Jenkins credentials (#10170)

* Added Jenkins credentials module to manage Jenkins credentials

* Added Jenkins credentials module to manage Jenkins credentials

* Added import error detection, adjusted indentation, and general enhancements.

* Added py3 requirement and set files value to avoid errors

* Added username to BOTMETA. Switched to format() instead of f strings to support py 2.7, improved delete function, and added function to read private key

* Remove redundant message



* Replaced requests with ansible.module_utils.urls, merged check domain and credential functions, and made minor adjustments to documentation

* Adjusted for py 2.7 compatibility

* Replaced command with state.

* Added managing credentials within a folder and made adjustments to documentation

* Added unit and integration tests, added token managament, and adjusted documentation.

* Added unit and integration tests, added token management, and adjusted documentation.(fix)

* Fix BOTMETA.yml

* Removed files and generate them at runtime.

* moved id and token checks to required_if

* Documentation changes, different test setup, and switched to Ansible testing tools

* Fixed typos

* Correct indentation.



---------


(cherry picked from commit 52cd104962)

Co-authored-by: YoussefKhalidAli <154611350+YoussefKhalidAli@users.noreply.github.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
2025-06-24 06:51:33 +02:00
..
become add systemd run0 as a become method (#8306) 2024-05-11 16:53:44 +02:00
cache Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
callback Callbacks: use ansible-core's version instead of trying to extract it (#10193) 2025-06-02 20:45:18 +02:00
connection [PR #10264/74ed0fc4 backport][stable-11] import mocks from community.internal_test_tools (#10266) 2025-06-17 21:24:13 +02:00
filter Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
inventory Remove proxmox content (#10110) 2025-06-08 16:18:16 +02:00
lookup Remove deprecated features and plugins for 11.0.0 (#10126) 2025-05-19 18:11:39 +02:00
module_utils [PR #10264/74ed0fc4 backport][stable-11] import mocks from community.internal_test_tools (#10266) 2025-06-17 21:24:13 +02:00
modules [PR #10170/52cd1049 backport][stable-11] jenkins_credentials: new module to manage Jenkins credentials (#10294) 2025-06-24 06:51:33 +02:00
plugin_utils Use more unit test utils from community.internal_test_tools (#9918) 2025-03-22 13:12:31 +01:00