Skip to content

Commit

Permalink
Fix another jenkins
Browse files Browse the repository at this point in the history
  • Loading branch information
adzil committed Dec 20, 2016
1 parent 40ec4aa commit 61bd1e3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
node {
def nodeHome = tool name: 'node-6', type: 'jenkins.plugins.nodejs.tools.NodeJSInstallation'
def nodeHome = tool name: 'node-6'
env.PATH = "${nodeHome}/bin:${env.PATH}"

stage('Environment check') {
sh 'node -v'
sh 'npm -v'
}
stage('Package installation') {
stage('Install') {
sh 'npm install'
}
stage('Testing') {
stage('Test') {
sh 'npm test'
}
}

0 comments on commit 61bd1e3

Please sign in to comment.