journal.pl/Jenkinsfile

30 lines
352 B
Plaintext
Raw Normal View History

2024-03-29 11:39:32 +03:00
pipeline {
2024-03-29 10:40:00 +03:00
agent {
docker {
image 'node:18'
}
}
stages {
stage('install') {
steps {
sh 'node -v'
sh 'npm -v'
sh 'npm ci'
}
}
stage('eslint') {
steps {
sh 'npm run eslint'
}
}
stage('build') {
steps {
2024-03-29 13:13:23 +03:00
sh 'npm run build'
2024-03-29 10:40:00 +03:00
}
}
}
2024-03-29 11:39:32 +03:00
}