diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 000000000..14b76ea71 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,16 @@ +pipeline{ + agent{ + any + } + stages{ + stage("git check out"){ + steps{ + git branch: 'main', url: 'https://github.com/techporttutor/Addressbookproject.git' + } + stage("maven build"){ + steps{ + sh 'mvn clean build' + } + } + } +} \ No newline at end of file