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

Add the ability to insert a variable into the node version

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • nvm-wrapper-plugin
    • None

      To select the NodeJS version in Jenkins, there is an nvm-wrapper plugin with which it is possible to specify the Nodejs version in the job config. In order to select the version in build, Nodejs made a choice parameter. I get the CHOICE_NODE_VERSION variable from the choice parameter. And I insert this variable into the Node version field of the nvm-wrapper plugin in the form $ {CHOICE_NODE_VERSION} (I tried $ CHOICE_NODE_VERSION this way). But in the end, the plugin does not understand that this is a variable and substitutes such records as text and not the value of the variable. Is it possible to implement this?

            atoms Tomas Salazar
            sergdsv Serg
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: