fixed
Some checks failed
gitea_dndsources/schedulord-frontend/pipeline/head There was a failure building this commit
Some checks failed
gitea_dndsources/schedulord-frontend/pipeline/head There was a failure building this commit
This commit is contained in:
parent
81e3310eef
commit
52d08e5326
40
Jenkinsfile
vendored
40
Jenkinsfile
vendored
@ -16,24 +16,30 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Test') {
|
||||
agent {
|
||||
docker {
|
||||
image 'node:lts-bullseye-slim'
|
||||
args '-p 3000:3000'
|
||||
}
|
||||
}
|
||||
parallel {
|
||||
stage('Static code analysis') {
|
||||
steps {
|
||||
unstash 'node_modules'
|
||||
sh 'npm run-script lint'
|
||||
}
|
||||
stage('Static code analysis') {
|
||||
agent {
|
||||
docker {
|
||||
image 'node:lts-bullseye-slim'
|
||||
args '-p 3000:3000'
|
||||
}
|
||||
}
|
||||
stage('Unit tests') {
|
||||
steps {
|
||||
unstash 'node_modules'
|
||||
sh 'npm run-script test'
|
||||
}
|
||||
steps {
|
||||
unstash 'node_modules'
|
||||
sh 'npm run-script lint'
|
||||
stash includes: 'node_modules/', name: 'node_modules'
|
||||
}
|
||||
}
|
||||
stage('Unit tests') {
|
||||
agent {
|
||||
docker {
|
||||
image 'node:lts-bullseye-slim'
|
||||
args '-p 3000:3000'
|
||||
}
|
||||
}
|
||||
steps {
|
||||
unstash 'node_modules'
|
||||
sh 'npm run-script test'
|
||||
stash includes: 'node_modules/', name: 'node_modules'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user