Jenkinsfile pipline
Some checks failed
gitea-bro-js/journal.pl/pipeline/head There was a failure building this commit

This commit is contained in:
Primakov Alexandr Alexandrovich 2024-03-29 10:40:00 +03:00
parent 0f3512750a
commit 3dcb226c85

29
Jenkinsfile vendored
View File

@ -0,0 +1,29 @@
pipeline {
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 {
sh 'npm run build:prod'
}
}
}
}