How do you use different Node.js versions on build machine?

We need the ablility to reproduce older builds.  So in the future we will need to build with the older version of Node.js along with the future versions for future builds.  This is all on one build machine. 

1 answer

This widget could not be displayed.
Ian Buchanan Atlassian Team Aug 30, 2017

I run into this all the time, not just on the Bamboo server, but on my local dev machine. I have found Node Version Manager (nvm) to be a huge help for both cases. To install a given version (and keep it around), just do "nvm install 0.10". In a Bamboo build, you would just run a script task for "nvm use 0.10" then you can kick off your build however you would normally.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in Canada

AUG Lunch Roundtable - August 13 - Highlights

Thanks to everyone who came out today for the lunch AUG - we had some great food and discussion (and ice cream sandwiches to fend off the heat!) The welcome and fun fact was great as well, what an aw...

41 views 2 4
View post

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you