bro.landing/Jenkinsfile

31 lines
398 B
Plaintext
Raw Permalink Normal View History

2024-07-25 22:14:20 +03:00
pipeline {
agent {
docker {
2024-10-01 09:57:15 +03:00
image 'node:20'
2024-07-25 22:14:20 +03:00
}
}
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'
}
}
}
}