Added first test JENKINSFILE

This commit is contained in:
Andreas Greiner 2021-08-06 21:42:21 +02:00
parent bfb4238d28
commit c475628375

23
JENKINSFILE Normal file
View File

@ -0,0 +1,23 @@
pipeline {
agent any
tools {
maven 'Maven'
jdk 'Java JDK'
}
stages {
stage ('Initialize') {
steps {
sh '''
echo "PATH = ${PATH}"
echo "M2_HOME = ${M2_HOME}"
'''
}
}
stage ('Build') {
steps {
echo 'This is a minimal pipeline.'
}
}
}
}