Changed node version
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Joan Sanchez 2021-02-05 17:26:48 +01:00
parent 3f4e102860
commit a849330eb4
1 changed files with 4 additions and 4 deletions

8
Jenkinsfile vendored
View File

@ -49,7 +49,7 @@ pipeline {
NODE_ENV = ""
}
steps {
nodejs('node-lts') {
nodejs('node-v12') {
sh 'npm install --no-audit --prefer-offline'
sh 'gulp install --ci'
}
@ -66,14 +66,14 @@ pipeline {
parallel {
stage('Frontend') {
steps {
nodejs('node-lts') {
nodejs('node-v12') {
sh 'jest --ci --reporters=default --reporters=jest-junit --maxWorkers=2'
}
}
}
// stage('Backend') {
// steps {
// nodejs('node-lts') {
// nodejs('node-v12') {
// sh 'gulp launchBackTest --ci'
// }
// }
@ -89,7 +89,7 @@ pipeline {
CREDS = credentials('docker-registry')
}
steps {
nodejs('node-lts') {
nodejs('node-v12') {
sh 'gulp build'
}