Skip to content

Commit

Permalink
add jenkinsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
stivenquirozc committed Oct 22, 2021
1 parent 2febe14 commit 52e2a7f
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
stage('npm-build') {
agent {
docker {
image 'node:7.4'
}
}

steps {
echo "Branch is ${env.BRANCH_NAME}..."

withNPM(npmrcConfig:'my-custom-npmrc') {
echo "Performing npm build..."
sh 'npm install'
}
}
}

0 comments on commit 52e2a7f

Please sign in to comment.