You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
480 B
Groovy

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