This clickstart demonstrates a basic hello world node.js app on CloudBees with continuous deployment. Jenkins runs tests via npm.
package.json is used to specify what packages are needed - main.js is the default server app (you can set main_js via bees config:set to override it to something else)
If you don't have a cloudbees account:
Sign in with GitHub:
- Install node.js
- Clone this repo
- node app/main.js
- cd app
- zip -r ../app.zip
- bees app:deploy -t nodejs ../app.zip
See here if you want to change how it work: https://github.com/CloudBees-community/node-clickstack The node-clickstack makes this possible - if you want to tweak how the node.js container works fork that repo, change it, and use it for the -RPLUGIN.SRC.nodejs url above.
Otherwise - fork this !