From 79977b7f8e12bdc3f6a4161a7e4175d8c4ed5c95 Mon Sep 17 00:00:00 2001 From: chumaeogu Date: Wed, 19 Feb 2025 20:34:20 -0500 Subject: [PATCH] adding the jenking with vanem opion --- Jenkinsfile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Jenkinsfile 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