feature/jenkins-ci #1

Merged
cameron merged 7 commits from feature/jenkins-ci into master 2020-04-18 17:33:39 +00:00
Showing only changes of commit bfbf08be63 - Show all commits

8
Jenkinsfile vendored
View File

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