Skip to content

Instantly share code, notes, and snippets.

@jmcgeheeiv
jmcgeheeiv / download-latest-jenkins-artifact.py
Last active November 8, 2023 06:36 — forked from supertom/fetch_debs_from_jenkins.py
Download the latest successful build artifacts from Jenkins using Python 3
#!/usr/bin/env python3
# Download the latest successful build artifacts from Jenkins using Python 3
# John McGehee 1/25/2016
#
# Based on the Python 2 version by supertom: https://gist.github.com/supertom/2759847
import argparse
import codecs
import io
import json