This commit is contained in:
parent
df74ffcb50
commit
72eceb685c
|
@ -98,15 +98,15 @@ pipeline {
|
||||||
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 images'
|
// 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:$BRANCH_NAME'
|
||||||
sh 'docker tag $IMAGE:$VERSION $IMAGE:$BRANCH_NAME'
|
// sh 'docker push $IMAGE:$BRANCH_NAME'
|
||||||
sh 'docker push $IMAGE:$BRANCH_NAME'
|
sh '$GIT_BRANCH'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Stack') {
|
stage('Stack') {
|
||||||
|
|
Loading…
Reference in New Issue