diff --git a/build-pipeline b/build-pipeline new file mode 100644 index 00000000..c07d99f0 --- /dev/null +++ b/build-pipeline @@ -0,0 +1,23 @@ +pipeline { + agent any + tools { + maven 'Maven' + } + stages { + stage ('Initialize') { + steps { + sh ''' + echo "PATH = ${PATH}" + echo "M2_HOME = ${M2_HOME}" + ''' + } + } + + stage ('Build') { + steps { + sh 'mvn clean package' + } + } + + } +}