build: refs #6695 try run front
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
This commit is contained in:
parent
9803d65415
commit
04fe560a7b
|
@ -72,17 +72,16 @@ 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 """
|
sh "echo VERSION=${env.VERSION}"
|
||||||
export VERSION=${env.VERSION}
|
sh 'docker-compose --version'
|
||||||
docker-compose -f docker-compose.e2e.yml up front --build
|
sh 'docker-compose -f docker-compose.e2e.yml build front'
|
||||||
"""
|
sh 'docker-compose -f docker-compose.e2e.yml up front'
|
||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
always {
|
always {
|
||||||
|
|
Loading…
Reference in New Issue