feat: refs #6695 try up db
gitea/salix/pipeline/pr-dev There was a failure building this commit
Details
gitea/salix/pipeline/pr-dev There was a failure building this commit
Details
This commit is contained in:
parent
7facadec9c
commit
c2598b9e80
|
@ -92,22 +92,22 @@ pipeline {
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Push image') {
|
// stage('Push image') {
|
||||||
environment {
|
// environment {
|
||||||
CREDENTIALS = credentials('docker-registry')
|
// CREDENTIALS = credentials('docker-registry')
|
||||||
IMAGE = "$REGISTRY/salix-back"
|
// IMAGE = "$REGISTRY/salix-back"
|
||||||
}
|
// }
|
||||||
steps {
|
// steps {
|
||||||
script {
|
// script {
|
||||||
def packageJson = readJSON file: 'package.json'
|
// def packageJson = readJSON file: 'package.json'
|
||||||
env.VERSION = "e2e-try"
|
// env.VERSION = "e2e-try"
|
||||||
}
|
// }
|
||||||
sh 'docker-compose build back'
|
// sh 'docker-compose build back'
|
||||||
sh 'docker login --username $CREDENTIALS_USR --password $CREDENTIALS_PSW $REGISTRY'
|
// sh 'docker login --username $CREDENTIALS_USR --password $CREDENTIALS_PSW $REGISTRY'
|
||||||
sh 'docker tag $IMAGE:$VERSION $IMAGE:$GIT_BRANCH'
|
// sh 'docker tag $IMAGE:$VERSION $IMAGE:$GIT_BRANCH'
|
||||||
sh 'docker push $IMAGE:$GIT_BRANCH'
|
// sh 'docker push $IMAGE:$GIT_BRANCH'
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
stage('Stack') {
|
stage('Stack') {
|
||||||
parallel {
|
parallel {
|
||||||
stage('Back') {
|
stage('Back') {
|
||||||
|
|
Loading…
Reference in New Issue