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:23:36 +01:00
parent f5b56ff5d4
commit 89b0791da3
1 changed files with 2 additions and 4 deletions

6
Jenkinsfile vendored
View File

@ -72,16 +72,14 @@ pipeline {
} }
environment { environment {
CREDENTIALS = credentials('docker-registry') CREDENTIALS = credentials('docker-registry')
IMAGE = "$REGISTRY/salix-back"
} }
steps { 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}"
} }
// sh 'export VERSION=e2e-try' sh 'docker-compose -f docker-compose.e2e.yml up front --build'
sh "echo VERSION=${env.VERSION}"
sh 'docker-compose -f docker-compose.e2e.yml build front'
sh 'docker-compose -f docker-compose.e2e.yml up front'
} }
post { post {
always { always {