Uploaded image for project: 'Jenkins Artifactory Plug-in'
  1. Jenkins Artifactory Plug-in
  2. HAP-1295

Can't reduce verbosity of NPMInstall

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: 4 - Normal
    • Resolution: Done
    • Affects Version/s: 3.5.0
    • Fix Version/s: 3.6.0
    • Component/s: None
    • Labels:
      None

      Description

      Even when doing

      stage ('Exec npm install') {             
          steps {                 
              rtNpmInstall (                     
                  resolverId: "NPM_RESOLVER",                     
                  args: '--quiet --log silent'                 
              )             
           }         
      }
      

       

      I always end up with too much logs (don't want to see all the dependencies)

          "added": [
              {
                  "action""add",
                  "name""ms",
                  "version""2.1.2",
                  "path""/var/lib/jenkins/workspace/npm-declarative/node_modules/debug/node_modules/ms"
              },
              {
                  "action""add",
                  "name""depd",
                  "version""1.1.2",
                  "path""/var/lib/jenkins/workspace/npm-declarative/node_modules/depd"
              },
              {
                  "action""add",
                  "name""destroy",
                  "version""1.0.4",
                  "path""/var/lib/jenkins/workspace/npm-declarative/node_modules/destroy"
              },

        Attachments

          Activity

            People

            Assignee:
            lirons Liron Shalom
            Reporter:
            yannc Yann Chaysinh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: