Added jenkins build config
parent
fd52c208c7
commit
6a9e204629
@ -0,0 +1,16 @@
|
||||
pipeline {
|
||||
stage('Stylecheck') {
|
||||
steps {
|
||||
echo 'Checking Style...'
|
||||
sh 'npm i'
|
||||
sh 'npm i tslint --dev'
|
||||
sh 'tslint src/**/*.ts'
|
||||
}
|
||||
}
|
||||
stage('Build') {
|
||||
steps {
|
||||
echo 'Building...'
|
||||
sh 'ng build --prod'
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue