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

Support corepack nodejs in buildwrapper

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • nodejs-plugin
    • None

      Add an option to the nodejs buildwrapper to use corepack for the wrapped closure (i.e. run corepack enable before the passed closure). And ensuring that the path where corepack shims are installed is on $PATH.

      There may be other useful bits to expose here, such as configuration for where the corepack shims are located (don't want to affect other jobs on the same agent), where corepack caches package manager archives, and providing registry info so that you can use corepack with a private NPM registry.

            nfalco Nikolas Falco
            jasonmobley Jason
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: