mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 15:25:49 +00:00
add build jar
This commit is contained in:
parent
c6bd36af1c
commit
1804721e1d
1 changed files with 10 additions and 0 deletions
|
@ -21,4 +21,14 @@ node {
|
|||
sh "${mvn}/bin/mvn sonar:sonar -Dsonar.projectKey=Web -Dsonar.projectName='Web' -Dsonar.sources=src/ -Dsonar.java.binaries=target/classes/ -Dsonar.exclusions=src/test/java/****/*.java"
|
||||
}
|
||||
}
|
||||
stage("Build JAR"){
|
||||
steps{
|
||||
sh "./mvnw package"
|
||||
}
|
||||
post{
|
||||
success{
|
||||
archiveArtifacts "target/*.jar"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue