feat: docker pull back image
gitea/salix-front/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Alex Moreno 2024-09-12 10:25:12 +02:00
parent aa5ef76dcf
commit fb20a89e59
1 changed files with 20 additions and 0 deletions

20
Jenkinsfile vendored
View File

@ -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') { stage('Build') {
when { when {
expression { PROTECTED_BRANCH } expression { PROTECTED_BRANCH }