jenkins-scripts/lint/eslint/Jenkinsfile

5 lines
98 B
Groovy

stage('lint') {
echo 'runing comand npm run eslint'
sh 'npm run eslint || npm run lint'
}