jenkinsfile tools test

This commit is contained in:
yetju000 2019-11-23 10:04:03 +01:00
parent c912353851
commit 9f8cffa741
1 changed files with 8 additions and 0 deletions

8
Jenkinsfile vendored
View File

@ -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..'
}
}