test: refs #6695 capture e2e erros and publish
gitea/salix-front/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Alex Moreno 2025-02-03 08:19:30 +01:00
parent 3a14c76ad0
commit 9955dc73d7
1 changed files with 4 additions and 6 deletions

10
Jenkinsfile vendored
View File

@ -93,12 +93,10 @@ pipeline {
NODE_ENV = "" NODE_ENV = ""
CREDENTIALS = credentials('docker-registry') CREDENTIALS = credentials('docker-registry')
} }
steps { script {
script { def packageJson = readJSON file: 'package.json'
def packageJson = readJSON file: 'package.json' env.VERSION = "${packageJson.version}-build${env.BUILD_ID}"
env.VERSION = "${packageJson.version}-build${env.BUILD_ID}" cleanDockerE2E()
cleanDockerE2E()
}
sh 'rm -rf salix' sh 'rm -rf salix'
sh 'git clone https://gitea.verdnatura.es/verdnatura/salix.git' sh 'git clone https://gitea.verdnatura.es/verdnatura/salix.git'
} }