diff --git a/Jenkinsfile2 b/Jenkinsfile2 index 0df5d2759..41a71af7c 100644 --- a/Jenkinsfile2 +++ b/Jenkinsfile2 @@ -19,5 +19,10 @@ pipeline { sh 'docker push shaik1128/spring-petclinic:3.0' } } + stage('deploy') { + steps { + sh 'kubectl apply -f spc.yaml' + } + } } }