Create Jenkinsfile
This commit is contained in:
parent
cb95f19eaa
commit
4bf36447b2
8
Jenkinsfile
vendored
Normal file
8
Jenkinsfile
vendored
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
node {
|
||||||
|
stage 'Git Clone'
|
||||||
|
checkout scm
|
||||||
|
stage 'Maven Compile'
|
||||||
|
sh 'mvn clean deploy -U'
|
||||||
|
stage 'Jenkins Archive'
|
||||||
|
step([$class: 'ArtifactArchiver', artifacts: 'target/*.jar', fingerprint: true])
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user