2nd build

This commit is contained in:
ametgud4u 2020-05-23 00:07:32 +05:30
parent ab8c031fd3
commit a2de101e9b

27
Jenkinsfile vendored
View file

@ -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'
}
node('jfrognew'){
stage('scm'){
git 'https://github.com/ametgud4u/Devops.git'
}
stage ('archival') {
// archiving artifacts
archive 'target/*.jar'
}
stage('build'){
sh label: '', script: 'mvn clean package'
}
stage('postbuild'){
junit '**/target/surefire-reports/*.xml'
archiveArtifacts 'target/*.jar'
}
}