Hi I have installed nvm and have nvm.sh under /home/Jenkins/.nvm.

Have configured NVM_DIR to Jenkins bashrc

How to use nvm to use specific version npm in my pipeline.

Stages {

Stage {
Sh
"""
Source~/.nvm
/home/Jenkins/. nvm/nvm.sh use 12.16.3
"""
}
}

Is not working .

Regards ,
manoj

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAGQNZuS0iXn2WAc8zJ1wFtCG72fgtSQ0PdS2jv1jxzdRCftm7Q%40mail.gmail.com.

Reply via email to