New module: Jenkins node management (#9016)

* New module: Jenkins node management

* Fix sanity errors

* (Try to) fix mock import for Python 2.7

* Remove encoding from XML tostring in hopes of appeasing py27

Default encoding is probably always good enough.

* Turns out that encoding parameter was important for python3...

It's not super obvious how to resolve in a 2 + 3 compatible way,
so branch and omit encoding for 2.

* Implement review fixes and suggestions
This commit is contained in:
Connor Newton 2024-10-19 11:51:50 +01:00 committed by GitHub
commit 064f76c27b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 965 additions and 0 deletions

View file

@ -54,3 +54,6 @@ proxmoxer ; python_version > '3.6'
#requirements for nomad_token modules
python-nomad < 2.0.0 ; python_version <= '3.6'
python-nomad >= 2.0.0 ; python_version >= '3.7'
# requirement for jenkins_build, jenkins_node, jenkins_plugin modules
python-jenkins >= 0.4.12