diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 00000000000..1a0023dbc26 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,22 @@ +pipeline{ + agent any + tools { + maven 'Maven' + } + + stages{ + stage('CDOWNLOAD'){ + steps{ + git credentialsId: 'Github_Token', + url: 'https://github.com/ngengecharity/spring-petclinic.git' + } + + } + + stage('Maven Build'){ + steps{ + sh "mvn clean package" + } + } + } +} \ No newline at end of file