From 4522182c87ece173987179126f0bb4944d96304c Mon Sep 17 00:00:00 2001 From: dipesh-bot <76529330+dipesh-bot@users.noreply.github.com> Date: Wed, 4 Oct 2023 12:54:57 -0500 Subject: [PATCH] Create jenkinsfile --- jenkinsfile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 jenkinsfile diff --git a/jenkinsfile b/jenkinsfile new file mode 100644 index 000000000..c89e1f625 --- /dev/null +++ b/jenkinsfile @@ -0,0 +1,19 @@ +pipeline { + agent any +tools { + maven 'Maven' +} + stages { + stage ('Initialize'){ + steps { + sh ''' + echo "PATH= ${PATH}" + echo "M2_HOME = $(M2_HOME}" + ''' +} +} + stage ('Build') { + sh 'mvn clean package' +} +} +}