mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-25 16:45:48 +00:00
Update Jenkinsfile
This commit is contained in:
parent
9b1b053f4a
commit
ab91c3c4af
1 changed files with 2 additions and 2 deletions
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
|
@ -26,9 +26,9 @@ pipeline {
|
||||||
stage('CREATE ARTIFACT') {
|
stage('CREATE ARTIFACT') {
|
||||||
steps {
|
steps {
|
||||||
echo 'Creating Docker Image...'
|
echo 'Creating Docker Image...'
|
||||||
sh '''#!/bin/bash -xe
|
sh """#!/bin/bash -xe
|
||||||
docker build . -t ${env.IMAGE_NAME} -f ${env.DOCKERFILE_NAME}
|
docker build . -t ${env.IMAGE_NAME} -f ${env.DOCKERFILE_NAME}
|
||||||
'''
|
"""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Push artifact to docker registry') {
|
stage('Push artifact to docker registry') {
|
||||||
|
|
Loading…
Reference in a new issue