Skip to content

A python script that checks for new Jenkins releases and sends email accordingly

Notifications You must be signed in to change notification settings

osu-itis/check-jenkins-updates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

check-jenkins-updates

A python script that checks for new Jenkins releases and sends email accordingly

Requirements

  • Python 3.8+

pip packages:

Package requirements are defined in requirements.txt

Configuration

Configuration is performed via environment variables:

ENV VAR Description
CHECK_JENKINS_UPDATES_DEBUG if set to 1, print debut output to stdout; if set to 0, no debug output
Default: 0
CHECK_JENKINS_UPDATES_SOURCE URL to check for updates
Default: http://updates.jenkins-ci.org/stable/update-center.json
CHECK_JENKINS_UPDATES_SMTP SMTP server for sending email
Default: localhost
CHECK_JENKINS_UPDATES_FROM email address to send from
Default: check-jenkins-updates@unknown
CHECK_JENKINS_UPDATES_RECIPIENT email address(es) to send to; multiple email addresses must be comma-separated
CHECK_JENKINS_UPDATES_CACHE path to cache file
Default: /tmp/check_jenkins_version.cache
CHECK_JENKINS_UPDATES_RETRY_TIMEOUT max time in seconds to retry failed connections to the updates source URL
Default: 120

Usage

$ python check-jenkins-updates.py

About

A python script that checks for new Jenkins releases and sends email accordingly

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages