• Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • nvm-wrapper-plugin
    • None

      We have several javascript and java projects that share one job. Several of the javascript projects use different versions of node. It would be nice if we could specify the version of node per build. This could be accomplished by either :

      1.  By using the .nvmrc file (this feature is partially supported however if a job does not have a .nvmcr file the build fails)
      2.  By having the version field accept a parameter variable 

          [JENKINS-60151] Ability to specify nodejs version per build

          Dustin McBride created issue -
          Dustin McBride made changes -
          Description Original: We have several javascript and java projects that share one job. Several of the javascript projects use different versions of node. It would be nice if we could specify the version of node per build. This could be accomplished by either :
           #  By using the .nvmrc file (this feature is partially supported however if a job does not have a .nvmcr file the build fails
           #  By having the version field accepting a parameter variable 
          New: We have several javascript and java projects that share one job. Several of the javascript projects use different versions of node. It would be nice if we could specify the version of node per build. This could be accomplished by either :
           #  By using the .nvmrc file (this feature is partially supported however if a job does not have a .nvmcr file the build fails)
           #  By having the version field accepting a parameter variable 
          Dustin McBride made changes -
          Description Original: We have several javascript and java projects that share one job. Several of the javascript projects use different versions of node. It would be nice if we could specify the version of node per build. This could be accomplished by either :
           #  By using the .nvmrc file (this feature is partially supported however if a job does not have a .nvmcr file the build fails)
           #  By having the version field accepting a parameter variable 
          New: We have several javascript and java projects that share one job. Several of the javascript projects use different versions of node. It would be nice if we could specify the version of node per build. This could be accomplished by either :
           #  By using the .nvmrc file (this feature is partially supported however if a job does not have a .nvmcr file the build fails)
           #  By having the version field accept a parameter variable 
          Eloy Lafuente made changes -
          Attachment New: nodejsversion.png [ 49904 ]
          Eloy Lafuente made changes -
          Attachment New: pipeline.png [ 49905 ]

            atoms Tomas Salazar
            dustinbm Dustin McBride
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: