https://github.com/gtramontina/cloudbees-node
Quick and dirty bash script to add node.js and npm to your cloudbees Jenkins project
https://github.com/gtramontina/cloudbees-node
Last synced: about 2 months ago
JSON representation
Quick and dirty bash script to add node.js and npm to your cloudbees Jenkins project
- Host: GitHub
- URL: https://github.com/gtramontina/cloudbees-node
- Owner: gtramontina
- Created: 2011-04-11T04:28:49.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2011-06-16T01:38:31.000Z (almost 14 years ago)
- Last Synced: 2023-03-12T02:32:41.697Z (about 2 years ago)
- Language: Shell
- Homepage:
- Size: 93.8 KB
- Stars: 6
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
cloudbees-node
This is a quick and dirty bash script that verifies whether you have Node.js
and npm installed and available in your Cloudbees' Jenkins project (cloudbees.com)
and install them if not.* Here's how it is currently working:
- My Jenkins project has the following structure:
/build - where this script and other build scripts live
/project - where everything else related to my project live- It is pre-configured to clone the latest Node.js github version into /build/node
and install it under /build/node/installed.- Configure your CI instance (Configure / Build / Execute shell) to run the following line (without quotes):
"source build/start.sh"* Future improvements:
- Read project's 'package.json' to find out which Node.js and NPM versions to clone/install* Note: The first time it runs it'll take some time to clone and install node and npm.
The subsequent builds these steps are skipped.** You are more than welcome to improve this script! **