Jenkins config

- fixed stage declaration
master
Trivernis 5 years ago
parent 602d74eadb
commit 02db6bd65b

14
Jenkinsfile vendored

@ -1,18 +1,20 @@
pipeline {
agent any
stage('Stylecheck') {
stages {
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'
}
stage('Build') {
steps {
echo 'Building...'
sh 'ng build --prod'
}
}
}
}

Loading…
Cancel
Save