Last active
December 17, 2015 06:09
-
-
Save clakech/5563118 to your computer and use it in GitHub Desktop.
Prerequisites for jenkins Cloudbees nodejs,grunt,bower,ruby,compass build
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Merci pour ruby & compass, ça m'a bien servi :)
(pour node, le nodejs plugin est dispo sur cloudbees c'est cool ;-))