formation 4 anos atrás
pai
commit
22ebe42fe3
1 arquivos alterados com 4 adições e 0 exclusões
  1. 4 0
      Jenkinsfile

+ 4 - 0
Jenkinsfile

@@ -1,4 +1,8 @@
 node{
+
+     withEnv(["PATH+NODE=${tool name: 'node-5.10.1', type: 'jenkins.plugins.nodejs.tools.NodeJSInstallation'}/bin"]) {
+    sh 'node -v'
+  }
      env.NODEJS_HOME = "${tool 'NodeJS'}"
     // on linux / mac
     env.PATH="${env.NODEJS_HOME}/bin:${env.PATH}"