On Wednesday, 9 January 2019 09:19:25 UTC, Kamil Dzierżanowski wrote: > > Hello, > > I'm trying to determine, which (if any) files are sourced by the shell, in > which commands specified in "sh" pipeline step are executed. I need to make > sure the NVM (Node Version Manager) is sourced everytime this step is used. > I tried numerous dot-files for the user the Jenkins agent is using, as > well as the /etc/profile, but none works. I'll be grateful for any hints or > for pointing me to an existing answer (I failed to find any). > > Kamil >
Did you try the nvm plugin ? https://wiki.jenkins.io/display/JENKINS/Nvm+Wrapper+Plugin -- 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/3abb354f-ac77-4b2a-9dee-fb5be80838bf%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.