Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-55851

npmrc Config does not appear in pipeline snippet generator

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • pipeline-npm-plugin
    • None
    • Jenkins 2.150.2.3
      pipeline-npm 0.9.2
      nodejs 1.2.7
      config-file-provider 3.2

      In the pipeline Snippet Generator, the withNPM step does not generate the list of npmrc Config items.

      Steps to reproduce:

      1. Install pipeline-npm, nodejs, and config-file-provider plugins
      2. Create a folder
      3. Create a pipeline job inside the folder
      4. Inside the folder, go to Config Files -> add a new config.
      5. Create an Npm config file and save it 
      6. Inside the pipeline job configuration, select Pipeline Script then Pipeline Syntax
      7. Under Snippet Generator, select withNPM: Provide NPM Environment
      8. Click dropdown for npmrc Config. See that there are no options listed.

            timdowney Tim Downey
            ddewhurst Dylan Dewhurst
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: