From dbef79a5d8ec8460ba2c8b220dceca16056caf72 Mon Sep 17 00:00:00 2001 From: Sohail Date: Sun, 5 Mar 2023 12:01:46 +0530 Subject: [PATCH] Added jenkins file Added jenkins file --- Jenkinsfile | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 46ef3609f..2dfb4238d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,16 +3,13 @@ pipeline{ triggers { pollSCM('* * * * *') } - stages { - stage ('vcs') { - steps { - git url: 'https://github.com/shaiksohail11/spring-petclinic.git', - branch: 'main', - sh 'mvn package' - - - } - - } - } + stages { + stage ('vcs') { + steps { + git url: 'https://github.com/shaiksohail11/spring-petclinic.git', + branch: 'main' + sh 'mvn package' + } + } + } } \ No newline at end of file