Add Lint build stage
Some checks failed
Core Repos/Homepage/pipeline/head There was a failure building this commit

This commit is contained in:
Cameron Cordes
2020-04-18 12:50:20 -04:00
parent 127cbb2635
commit bfbf08be63

8
Jenkinsfile vendored
View File

@@ -4,12 +4,16 @@ pipeline {
stage('setup') {
steps {
sh 'npm install'
sh 'set PATH=$PATH:$(pwd)/node_modules/.bin'
}
}
stage('build') {
steps {
sh 'ng build --prod'
sh 'node_modules/.bin/ng build --prod'
}
}
stage('lint') {
steps {
sh 'node_modules/.bin/ng lint'
}
}
}