Fixes Jenkinsfile
Updates Jenkinsfile to trigger SCM checkout and Maven build
This commit is contained in:
parent
eb2f5f1258
commit
f07562f94d
1 changed files with 10 additions and 1 deletions
9
Jenkinsfile
vendored
9
Jenkinsfile
vendored
|
@ -1 +1,10 @@
|
||||||
|
node {
|
||||||
|
|
||||||
|
stage 'Checkout'
|
||||||
checkout scm
|
checkout scm
|
||||||
|
|
||||||
|
stage 'Build'
|
||||||
|
def mvnHome = tool 'Maven 3.3.9'
|
||||||
|
sh "${mvnHome}/bin/mvn clean install"
|
||||||
|
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue