Hi There,
I have installed NVM in my ubuntu build agent. I am able to use nvm and node commands in my local.
But when I run nvm or node commands from bamboo plan, Plan fails with error as node command not found. Same for nvm also.
When I use full path for node it works.
/opt/bamboo-agent-home/.nvm/versions/node/v12.21.0/bin/node -v
But nvm is not working. please suggest.
Error :
/opt/bamboo-agent-home/temp/TEST-SCR-LT-71-ScriptBuildTask-47945519012.sh: 9: /opt/bamboo-agent-home/temp/TEST-SCR-LT-71-ScriptBuildTask-47945519012.sh: nvm: not found