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:31:38 +01:00
parent 9803d65415
commit 04fe560a7b
1 changed files with 9 additions and 10 deletions

19
Jenkinsfile vendored
View File

@ -72,17 +72,16 @@ pipeline {
}
environment {
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 """
export VERSION=${env.VERSION}
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 "echo VERSION=${env.VERSION}"
sh 'docker-compose --version'
sh 'docker-compose -f docker-compose.e2e.yml build front'
sh 'docker-compose -f docker-compose.e2e.yml up front'
}
post {
always {