feat: docker pull back image
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
This commit is contained in:
parent
aa5ef76dcf
commit
fb20a89e59
|
@ -83,6 +83,26 @@ pipeline {
|
|||
}
|
||||
}
|
||||
}
|
||||
stage('E2E') {
|
||||
when {
|
||||
expression { !PROTECTED_BRANCH }
|
||||
}
|
||||
environment {
|
||||
CREDENTIALS = credentials('docker-registry')
|
||||
IMAGE = "$REGISTRY/salix-back"
|
||||
}
|
||||
steps {
|
||||
sh 'docker pull $IMAGE:$GIT_BRANCH'
|
||||
}
|
||||
post {
|
||||
always {
|
||||
junit(
|
||||
testResults: 'junitresults.xml',
|
||||
allowEmptyResults: true
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Build') {
|
||||
when {
|
||||
expression { PROTECTED_BRANCH }
|
||||
|
|
Loading…
Reference in New Issue