Update Jenkinsfile2

This commit is contained in:
SHAIK.SOHAIL 2023-03-15 15:51:00 +05:30 committed by GitHub
parent 3243c3f69e
commit d9da7cdc82
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,5 +19,10 @@ pipeline {
sh 'docker push shaik1128/spring-petclinic:3.0'
}
}
stage('deploy') {
steps {
sh 'kubectl apply -f spc.yaml'
}
}
}
}