diff --git a/Jenkinsfile b/Jenkinsfile index 219cf37a6..f18f03b40 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -25,5 +25,13 @@ pipeline { archiveArtifacts artifacts: 'build/libs/*.jar' } } + stage('Docker Build') { + + steps { + echo 'Building docker Image' + sh 'docker build -t $NEXUS_DOCKER_REPO/spring-petclinic:${GIT_COMMIT} .' + } + } + } } \ No newline at end of file