Skip to content

Instantly share code, notes, and snippets.

@clakech
Last active December 17, 2015 06:09
Show Gist options
  • Save clakech/5563118 to your computer and use it in GitHub Desktop.
Save clakech/5563118 to your computer and use it in GitHub Desktop.
Prerequisites for jenkins Cloudbees nodejs,grunt,bower,ruby,compass build
# prerequisites to install on jenkins before each build
export DISPLAY=:1
Xvfb :1 &
#
# Fetch node, grunt, bower, npm deps, ruby for compass...
#
#cd $1
curl -s -o ./use-node https://repository-cloudbees.forge.cloudbees.com/distributions/ci-addons/node/use-node
NODE_VERSION=0.8.14 . ./use-node
npm install -g grunt-cli bower
curl -s -o ./use-ruby https://repository-cloudbees.forge.cloudbees.com/distributions/ci-addons/ruby/use-ruby
RUBY_VERSION=2.0.0-p247 \
source ./use-ruby
gem install --conservative compass
@fcamblor
Copy link

Merci pour ruby & compass, ça m'a bien servi :)

(pour node, le nodejs plugin est dispo sur cloudbees c'est cool ;-))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment