Jenkinsfile fixes
gitea/salix/test There was a failure building this commit Details

This commit is contained in:
Juan Ferrer 2019-12-19 14:29:17 +01:00
parent 4f3e3b41fa
commit 325d0aa08e
1 changed files with 8 additions and 4 deletions

4
Jenkinsfile vendored
View File

@ -68,17 +68,21 @@ pipeline {
} }
parallel { parallel {
stage('Frontend') { stage('Frontend') {
steps {
nodejs('node-lts') { nodejs('node-lts') {
sh 'jest --ci --reporters=default --reporters=jest-junit --maxWorkers=1' sh 'jest --ci --reporters=default --reporters=jest-junit --maxWorkers=1'
} }
} }
}
stage('Backend') { stage('Backend') {
steps {
nodejs('node-lts') { nodejs('node-lts') {
sh 'gulp backTestDockerOnce --junit --random' sh 'gulp backTestDockerOnce --junit --random'
} }
} }
} }
} }
}
stage('Build') { stage('Build') {
when { anyOf { when { anyOf {
branch 'test' branch 'test'