Skip to content

Instantly share code, notes, and snippets.

@nhojpatrick
nhojpatrick / install_jenkins_plugin.sh
Last active February 21, 2021 14:09 — forked from micw/install_jenkins_plugin.sh
Script to install one or more jenkins plugins including dependencies while jenkins is offline
#!/bin/bash
set -e
if [ $# -eq 0 ]; then
echo "USAGE: $0 plugin1 plugin2 ..."
exit 1
fi
plugin_dir=/var/lib/jenkins/plugins
@nhojpatrick
nhojpatrick / install_jenkins_plugin.sh
Last active October 18, 2018 15:21 — forked from hoesler/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() {
@nhojpatrick
nhojpatrick / playdeb.sh
Last active December 25, 2015 21:39 — forked from stefanbirkner/playdeb.sh
Update to work for play 1.2.3 and 1.2.5.3. Fix debian/rules executable warning message. Fix verbose unzip.
#!/bin/bash
# playdeb builds a debian package of the play framework. playdeb downloads
# the playframework by itself. You run it by
# playdeb.sh <version> <maintainer>
# Example:
# playdeb.sh 1.2.3 "Denny Colt <d.colt@eisner.qcg>"
#
# The script has been tested with version 1.2.3, 1.2.5.3.
if [ -z $1 ]