diff --git a/Jenkinsfile b/Jenkinsfile index 0ae63a2..a771015 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,9 +1,17 @@ pipeline { agent any + tools { + maven 'Maven 3.3.9' + jdk 'jdk8' + } stages { stage('Build') { steps { + sh ''' + echo "PATH = ${PATH}" + echi "M2_HOME = ${M2_HOME}" + ''' echo 'Building..' } }