List of failed jenkins jobs

Python script which prints the url of SD failed jenkins jobs.

Requirements

  • python3
  • requests
  • dotenv

Usage

Set the environment variables USERNAME and API_TOKEN in .env file.

Run run the script with

python3 failed-jenkins-jobs.py

Docker

A docker image of the script is available in fagostini/failed-jenkins-jobs.
Run it with

docker run --env-file .env fagostini/failed-jenkins-jobs