Advertisement
Guest User

Untitled

a guest
Jul 29th, 2016
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. node {
  2. def nodeHome = tool name: 'node-6.3.1', type: 'jenkins.plugins.nodejs.tools.NodeJSInstallation'
  3. env.PATH = "${nodeHome}/bin:${env.PATH}"
  4. stage 'check environment'
  5. sh "node -v"
  6. sh "npm -v"
  7.  
  8. stage 'build'
  9. sh "npm install"
  10. sh "gulp deploy"
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement