Skip to content

Instantly share code, notes, and snippets.

View yurinnick's full-sized avatar
🏠
Working from home

Nikolay Yurin yurinnick

🏠
Working from home
View GitHub Profile
@yurinnick
yurinnick / recipe.rb
Created November 9, 2013 09:30 — forked from peplin/recipe.rb
# Source accepts the protocol s3:// with the host as the bucket
# access_key_id and secret_access_key are just that
s3_file "/var/bulk/the_file.tar.gz" do
source "s3://your.bucket/the_file.tar.gz"
access_key_id your_key
secret_access_key your_secret
owner "root"
group "root"
mode 0644
end
#!/bin/bash
set -e
if [ $# -eq 0 ]; then
echo "USAGE: $0 plugin1 plugin2 ..."
exit 1
fi
plugin_dir=/var/lib/jenkins/plugins