Skip to content
This repository has been archived by the owner on Feb 10, 2023. It is now read-only.

Updates Jenkins plugins with the magic of automation... and Selenium.

License

Notifications You must be signed in to change notification settings

ThePotatoCamera/JenkinsPluginsAutoUpdate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.