Jenkins config nodejs

- added nodejs plugin and config
master
Trivernis 5 years ago
parent 02db6bd65b
commit bea2e22519

12
Jenkinsfile vendored

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

Loading…
Cancel
Save