- added nodejs plugin and config
@ -5,15 +5,19 @@ pipeline {
stage('Stylecheck') {
steps {
echo 'Checking Style...'
sh 'npm i'
nodejs {
sh 'npm i tslint --dev'
sh 'tslint src/**/*.ts'
}
stage('Build') {
echo 'Building...'
sh 'ng build --prod'