Updates Jenkins plugins with the magic of automation... and Selenium.
Project description
Jenkins Auto Updater
Using the magic of automation from Selenium and Python, this script will automatically update your Jenkins plugins[1].
[1]At least most of them...
Requirements
- Python >= 3.7
- Firefox >= 91.5
Usage
Just run the script with the following arguments.
python jenkinsautoupdater.py <jenkins URL> <username> <password> [auto restart jenkins]
Example:
python jenkinsautoupdater.py https://example.org admin AS3cur3P@$$w0rd! true
Note: If you execute the command with true at the end, Jenkins will auto-restart after downloading the updates. Default behaviour is to not restart Jenkins.
Caveats
Sometimes the script will not select some checkboxes, but at least will click most of them. It's up to you if you want to click the last ones or retry. If you want to fix this behaviour, you're welcome to do so.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file jenkins-plugins-auto-update-1.0.1.tar.gz
.
File metadata
- Download URL: jenkins-plugins-auto-update-1.0.1.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94be34884a8645df55cecfbe0205384947462f8538333799156d8acd50780cc2 |
|
MD5 | 780866ddbb1d466d94d2fa426bdae522 |
|
BLAKE2b-256 | 73784dea0058b646a1ade054bf55eb1518ba5a0aff4d7a634db41bdf3d2b086e |
File details
Details for the file jenkins_plugins_auto_update-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: jenkins_plugins_auto_update-1.0.1-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3381e0edb69148df6c78309f446f197526587f16b3bb3e55deee0171216d2268 |
|
MD5 | a5ac8398cb9d460f51af79227db3bc46 |
|
BLAKE2b-256 | cf432e9eeea5ed957cc73f19bb8912b687c89834fa2ff29055a7b34de8459d21 |