Add more proper setup and build steps
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 09:26:52 -04:00
parent 45fad8586a
commit d19d96a7fd

6
Jenkinsfile vendored
View File

@@ -1,9 +1,13 @@
pipeline {
agent { docker { image 'node:13.10-alpine' } }
stages {
stage('setup') {
sh npm install
sh export PATH=$PATH:node_modules/.bin
}
stage('build') {
steps {
sh 'npm --version'
sh 'ng build --prod'
}
}
}