Skip to content

Instantly share code, notes, and snippets.

View fenar's full-sized avatar
💭
I may be slow to respond.

Fatih Nar fenar

💭
I may be slow to respond.
  • Texas
View GitHub Profile
@fenar
fenar / lvg.yaml
Last active August 11, 2023 02:28
# lvscan
# lvremove /dev/vol_grp/log_grp1
# vgscan
# vgremove vol_grp
---
@fenar
fenar / jenkins-plugins-batch-install.md
Created June 19, 2017 20:19 — forked from hgomez/jenkins-plugins-batch-install.md
Mass install/update of Jenkins Plugins

Scripted Jenkins Plugins install

Jenkins has a very rich catalog of plugins and it's quite easy to install and update them via UI. BTW, when you want to add tons of plugin via UI, it's a fairly long and boring procedure.

Hopefully, mass installation (or update) could be easy using a simple bash script (curl/python required) :

Create a file containing plugins to be installed (or updated), ie iplugins :

@fenar
fenar / install_jenkins_plugin.sh
Last active June 9, 2017 16:51 — 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