From f8f77acf8f592a6ebcd33dd7909b8efe890a2ff9 Mon Sep 17 00:00:00 2001 From: ramizrahi <97085842+ramizrahi@users.noreply.github.com> Date: Wed, 9 Nov 2022 15:14:44 +0200 Subject: [PATCH 1/2] Update pom.xml --- pom.xml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 2da274d8c..073a4f41b 100644 --- a/pom.xml +++ b/pom.xml @@ -25,5 +25,4 @@ - - \ No newline at end of file + From a28959a91166b57cef1e826484bac0c7662cf5dd Mon Sep 17 00:00:00 2001 From: ramizrahi <97085842+ramizrahi@users.noreply.github.com> Date: Thu, 17 Nov 2022 13:50:02 +0200 Subject: [PATCH 2/2] added jenkinsfile --- Jenkinsfile | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Jenkinsfile diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 000000000..0bcccc93a --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,24 @@ +pipeline { + agent any + } + + stages { + stage ('GIT') { + steps{ + checkout ({ + $class: 'GitSCM', + branches: [[name: '*/dev']], + doGenerateSubmoduleConfigurations: false, + extensions: [], + submoduleCfg: [], + userRemoteConfigs: [[url: 'https://github.com/ramizrahi/hello-world-war']]]) + + } + } + stege ('Build') { + steps { + sh 'mvn "pom.xml" clean install' + } + } + } +} \ No newline at end of file