mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-26 01:15:50 +00:00
Update Jenkinsfile2
This commit is contained in:
parent
ea9b91a246
commit
992ea96d52
1 changed files with 3 additions and 3 deletions
|
@ -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'
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue