feature/jenkins-ci #1
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@@ -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'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user