2nd build

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

21
Jenkinsfile vendored
View file

@ -1,20 +1,17 @@
node {
stage('SCM') {
// git clone node('jfrognew'){
git 'https://github.com/GitPracticeRepo/spring-petclinic.git' stage('scm'){
git 'https://github.com/ametgud4u/Devops.git'
} }
stage ('build the packages') { stage('build'){
// mvn package sh label: '', script: 'mvn clean package'
sh 'mvn clean package'
} }
stage('postbuild'){
junit '**/target/surefire-reports/*.xml'
stage ('archival') { archiveArtifacts 'target/*.jar'
// archiving artifacts
archive 'target/*.jar'
} }
} }