Update Jenkinsfile2

This commit is contained in:
SHAIK.SOHAIL 2023-03-15 14:25:54 +05:30 committed by GitHub
parent ea9b91a246
commit 992ea96d52
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,15 +7,15 @@ pipeline {
stages{
stage('vcs') {
steps{
steps {
git url: 'https://github.com/shaiksohail11/spring-petclinic.git',
branch: 'main'
}
}
stage('Build') {
steps{
sh 'docker image build -t shaik1128/spring-petclinic:3.0 .',
steps {
sh 'docker image build -t shaik1128/spring-petclinic:3.0 .'
sh 'docker push shaik1128/spring-petclinic:3.0'
}
}