mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 23:35:50 +00:00
2nd build
This commit is contained in:
parent
ab8c031fd3
commit
a2de101e9b
1 changed files with 13 additions and 16 deletions
29
Jenkinsfile
vendored
29
Jenkinsfile
vendored
|
@ -1,20 +1,17 @@
|
|||
node {
|
||||
|
||||
stage('SCM') {
|
||||
// git clone
|
||||
git 'https://github.com/GitPracticeRepo/spring-petclinic.git'
|
||||
}
|
||||
|
||||
stage ('build the packages') {
|
||||
// mvn package
|
||||
sh 'mvn clean package'
|
||||
}
|
||||
|
||||
|
||||
|
||||
stage ('archival') {
|
||||
// archiving artifacts
|
||||
archive 'target/*.jar'
|
||||
}
|
||||
node('jfrognew'){
|
||||
stage('scm'){
|
||||
git 'https://github.com/ametgud4u/Devops.git'
|
||||
}
|
||||
|
||||
stage('build'){
|
||||
sh label: '', script: 'mvn clean package'
|
||||
}
|
||||
|
||||
stage('postbuild'){
|
||||
junit '**/target/surefire-reports/*.xml'
|
||||
archiveArtifacts 'target/*.jar'
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in a new issue