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
11
Jenkinsfile
vendored
11
Jenkinsfile
vendored
|
@ -1 +1,10 @@
|
||||||
checkout scm
|
node {
|
||||||
|
|
||||||
|
stage 'Checkout'
|
||||||
|
checkout scm
|
||||||
|
|
||||||
|
stage 'Build'
|
||||||
|
def mvnHome = tool 'Maven 3.3.9'
|
||||||
|
sh "${mvnHome}/bin/mvn clean install"
|
||||||
|
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue