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.
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.
This is great post and quite simple. By setting a default version nvm alias default <version>, any other shell that opens will use this. Then in my build job, I just add a script shell and call nvm use <myVersion> and run the build. When finished, no harm done. Everything (other builds) just looks the same.
I'm happy to announce that Bamboo 7.1 has been released and it’s overflowing with awesome new features. Top-voted issues First and foremost, a bunch of JAC top voted issues has been delivered - y...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events