Skip to content

Commit

Permalink
Pipeline setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Gopal Saini committed Nov 16, 2018
1 parent 0ad49fe commit 89fd45c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ pipeline {
branch 'master'
}
steps {
deleteDir()
checkout scm
sh 'npm i -d'
sh 'npm run lighthouse'
}
Expand All @@ -42,7 +44,7 @@ pipeline {
allowMissing: false,
alwaysLinkToLastBuild: false,
keepAll: true,
reportDir: '.',
reportDir: './reports/lighthouse',
reportFiles: 'lighthouse-report.html',
reportName: "Lighthouse"
])
Expand Down

0 comments on commit 89fd45c

Please sign in to comment.