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') { stage('Stylecheck') {
steps { steps {
echo 'Checking Style...' echo 'Checking Style...'
sh 'npm i' nodejs {
sh 'npm i tslint --dev' sh 'npm i'
sh 'tslint src/**/*.ts' sh 'npm i tslint --dev'
sh 'tslint src/**/*.ts'
}
} }
} }
stage('Build') { stage('Build') {
steps { steps {
echo 'Building...' echo 'Building...'
sh 'ng build --prod' nodejs {
sh 'ng build --prod'
}
} }
} }
} }

Loading…
Cancel
Save