Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
d1e3455dd3
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -2,7 +2,11 @@ node {
|
||||
stage 'Git Clone'
|
||||
checkout scm
|
||||
stage 'Maven Compile'
|
||||
sh 'mvn clean deploy -U'
|
||||
if (env.BRANCH_NAME == 'master') {
|
||||
sh 'mvn clean deploy -U'
|
||||
} else {
|
||||
sh 'mvn clean package -U'
|
||||
}
|
||||
stage 'Jenkins Archive'
|
||||
step([$class: 'ArtifactArchiver', artifacts: 'target/*.jar', fingerprint: true])
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user