build: refs #6695 try run front
gitea/salix-front/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Alex Moreno 2025-01-29 08:26:25 +01:00
parent 89b0791da3
commit d635be0e97
1 changed files with 9 additions and 6 deletions

15
Jenkinsfile vendored
View File

@ -74,12 +74,15 @@ pipeline {
CREDENTIALS = credentials('docker-registry')
IMAGE = "$REGISTRY/salix-back"
}
steps {
script {
def packageJson = readJSON file: 'package.json'
env.VERSION = "${packageJson.version}-build${env.BUILD_ID}"
}
sh 'docker-compose -f docker-compose.e2e.yml up front --build'
steps {
script {
def packageJson = readJSON file: 'package.json'
env.VERSION = "${packageJson.version}-build${env.BUILD_ID}"
}
sh """
export VERSION=${env.VERSION}
docker-compose -f docker-compose.e2e.yml up front --build
"""
}
post {
always {