Jenkins build
Some checks failed
test/timeline-frontend/pipeline/head There was a failure building this commit

This commit is contained in:
2025-12-29 16:08:27 +08:00
parent efb82caf1a
commit fd32553d8a

5
Jenkinsfile vendored
View File

@@ -133,16 +133,11 @@ pipeline {
stage('Push Docker Image') { stage('Push Docker Image') {
steps { steps {
script { script {
withCredentials([usernamePassword(credentialsId: 'docker-registry-credentials',
usernameVariable: 'DOCKER_USER',
passwordVariable: 'DOCKER_PASS')]) {
sh 'echo $DOCKER_PASS | docker login $DOCKER_REGISTRY -u $DOCKER_USER --password-stdin'
sh "docker push ${DOCKER_IMAGE}:${env.IMAGE_TAG}" sh "docker push ${DOCKER_IMAGE}:${env.IMAGE_TAG}"
sh "docker push ${DOCKER_IMAGE}:latest" sh "docker push ${DOCKER_IMAGE}:latest"
} }
} }
} }
}
stage('Deploy to Environment') { stage('Deploy to Environment') {
parallel { parallel {