Update Jenkinsfile
This commit is contained in:
parent
50864479c9
commit
d4dcac48ff
1 changed files with 24 additions and 7 deletions
31
Jenkinsfile
vendored
31
Jenkinsfile
vendored
|
@ -1,11 +1,28 @@
|
|||
pipeline {
|
||||
agent any
|
||||
stages {
|
||||
stage('Build') {
|
||||
steps {
|
||||
echo 'Building V10Lift...'
|
||||
}
|
||||
agent any
|
||||
tools {
|
||||
maven 'Maven 3.3.9'
|
||||
jdk 'jdk8'
|
||||
}
|
||||
stages {
|
||||
stage ('Initialize') {
|
||||
steps {
|
||||
sh '''
|
||||
echo "PATH = ${PATH}"
|
||||
echo "M2_HOME = ${M2_HOME}"
|
||||
'''
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
stage ('Build') {
|
||||
steps {
|
||||
sh 'mvn -Dmaven.test.failure.ignore=true install'
|
||||
}
|
||||
post {
|
||||
success {
|
||||
junit 'target/v10lift2/**/*.xml'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue