Skip to content

Instantly share code, notes, and snippets.

View hoesler's full-sized avatar

Christoph Hösler hoesler

View GitHub Profile
@hoesler
hoesler / install_jenkins_plugin.sh
Last active February 9, 2024 16:28 — forked from micw/install_jenkins_plugin.sh
Script to install one or more jenkins plugins including dependencies while jenkins is offline
#!/usr/bin/env bash
set -e
set -o pipefail
plugin_repo_url="http://updates.jenkins-ci.org/download/plugins"
plugin_dir="/var/lib/jenkins/plugins"
include_optionals=false
showUsage() {