@@technologytheoryhandson863 Thanks a lot . I just followed the same and I fixed npm publish with credentials that I set and passed in pipeline . Now I have another job on same node (windows) with different work space mvn deploy having the 401 error how can I fix that ? Thanks in advance ..
In several MVN (maven) tutorials I have seen that a "nexusArtifactUploader" method is used, but for NPM (nodejs) they only put an "install --registry"; How is Jenkins supposed to know to upload things if there is no UPLOAD method? By magic?
It is "npm publish" command that will upload to Nexus..this is native npm command and it will use package.json and npmrc config file to get relevant config details about Nexus etc..however nexusArtifactUploader is a Jenkins plugin to upload artifacts..
Thank you for the tutorial. I have a question: why did you import the .npmrc file with credentials to Jenkins, since it seems to work without this step as well? I just logged in to the registry and was able to perform npm publish.
It's very helpful video for me. Thank you.
Thank you..I am glad it is helpful to you..
Thanks for the Video, Really helps ..
Thank you very much.. glad it helped you..
@@technologytheoryhandson863
Thanks a lot . I just followed the same and I fixed npm publish with credentials that I set and passed in pipeline .
Now I have another job on same node (windows) with different work space mvn deploy having the 401 error how can I fix that ? Thanks in advance ..
Thank you..please go through ruclips.net/video/XtRVSZZO4Vc/видео.html for pipeline with maven..
In several MVN (maven) tutorials I have seen that a "nexusArtifactUploader" method is used, but for NPM (nodejs) they only put an "install --registry"; How is Jenkins supposed to know to upload things if there is no UPLOAD method? By magic?
It is "npm publish" command that will upload to Nexus..this is native npm command and it will use package.json and npmrc config file to get relevant config details about Nexus etc..however nexusArtifactUploader is a Jenkins plugin to upload artifacts..
@@technologytheoryhandson863 new subscription 👍
Thank you for the tutorial. I have a question: why did you import the .npmrc file with credentials to Jenkins, since it seems to work without this step as well? I just logged in to the registry and was able to perform npm publish.
Thank you...it is secure when we store as Jenkins credentials instead of placing on disk or directly specifying credentials..
Nice video
Thank you..glad it helped you..