jenkinsfile tools test
This commit is contained in:
parent
c912353851
commit
9f8cffa741
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@ -1,9 +1,17 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
agent any
|
||||||
|
tools {
|
||||||
|
maven 'Maven 3.3.9'
|
||||||
|
jdk 'jdk8'
|
||||||
|
}
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
stage('Build') {
|
stage('Build') {
|
||||||
steps {
|
steps {
|
||||||
|
sh '''
|
||||||
|
echo "PATH = ${PATH}"
|
||||||
|
echi "M2_HOME = ${M2_HOME}"
|
||||||
|
'''
|
||||||
echo 'Building..'
|
echo 'Building..'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user