Skip to content

Commit

Permalink
Merge branch 'master' of github.com:pstember/goof-jenkins
Browse files Browse the repository at this point in the history
  • Loading branch information
Philippe Stemberger committed Jul 29, 2019
2 parents b60daf0 + dd81940 commit 1829d8f
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
pipeline {
agent {
docker {
args '-p 3000:3000'
image 'node:12.7.0-alpine'
}

}
stages {
stage('Node') {
steps {
sh 'npm install'
}
}
stage('Snyk') {
steps {
snykSecurity(failOnIssues: true, snykInstallation: 'Snyk')
}
}
}
}

0 comments on commit 1829d8f

Please sign in to comment.