e91b861415
All checks were successful
platform/bro-js/bro.landing/pipeline/head This commit looks good
31 lines
398 B
Groovy
31 lines
398 B
Groovy
pipeline {
|
|
agent {
|
|
docker {
|
|
image 'node:20'
|
|
}
|
|
}
|
|
|
|
stages {
|
|
stage('install') {
|
|
steps {
|
|
sh 'node -v'
|
|
sh 'npm -v'
|
|
sh 'npm ci'
|
|
}
|
|
}
|
|
|
|
stage('eslint') {
|
|
steps {
|
|
sh 'npm run eslint'
|
|
}
|
|
}
|
|
|
|
stage('clean-all') {
|
|
steps {
|
|
sh 'rm -rf .[!.]*'
|
|
sh 'rm -rf ./*'
|
|
sh 'ls -a'
|
|
}
|
|
}
|
|
}
|
|
} |