Jenkins config

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

14
Jenkinsfile vendored

@ -1,18 +1,20 @@
pipeline { pipeline {
agent any agent any
stage('Stylecheck') { stages {
stage('Stylecheck') {
steps { steps {
echo 'Checking Style...' echo 'Checking Style...'
sh 'npm i' sh 'npm i'
sh 'npm i tslint --dev' sh 'npm i tslint --dev'
sh 'tslint src/**/*.ts' sh 'tslint src/**/*.ts'
} }
} }
stage('Build') { stage('Build') {
steps { steps {
echo 'Building...' echo 'Building...'
sh 'ng build --prod' sh 'ng build --prod'
}
} }
} }
} }

Loading…
Cancel
Save