Jenkins pipeline: npm build and upload/Download packages to/from Nexus

Поделиться
HTML-код
  • Опубликовано: 25 окт 2024

Комментарии • 13

  • @gauravgote7489
    @gauravgote7489 7 месяцев назад

    It's very helpful video for me. Thank you.

  • @bunny_vlog1809
    @bunny_vlog1809 9 месяцев назад

    Thanks for the Video, Really helps ..

    • @technologytheoryhandson863
      @technologytheoryhandson863  9 месяцев назад

      Thank you very much.. glad it helped you..

    • @bunny_vlog1809
      @bunny_vlog1809 9 месяцев назад

      @@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 ..

    • @technologytheoryhandson863
      @technologytheoryhandson863  8 месяцев назад +1

      Thank you..please go through ruclips.net/video/XtRVSZZO4Vc/видео.html for pipeline with maven..

  • @baphomet9435
    @baphomet9435 4 месяца назад

    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?

    • @technologytheoryhandson863
      @technologytheoryhandson863  4 месяца назад

      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..

    • @baphomet9435
      @baphomet9435 4 месяца назад

      @@technologytheoryhandson863 new subscription 👍

  • @marcinrozek648
    @marcinrozek648 8 месяцев назад

    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.

    • @technologytheoryhandson863
      @technologytheoryhandson863  8 месяцев назад +1

      Thank you...it is secure when we store as Jenkins credentials instead of placing on disk or directly specifying credentials..

  • @nerack2502
    @nerack2502 11 месяцев назад

    Nice video