Added the name change in pipeline

This commit is contained in:
n 2023-03-07 15:24:26 +05:30
parent 315a72b91e
commit e9f3975064

11
Jenkinsfile vendored
View file

@ -1,5 +1,5 @@
pipeliene {
agent any
pipeline {
agent 'any'
triggers { pollSCM '* * * * *' }
stages {
stage( 'version control sysytem') {
@ -13,5 +13,12 @@ pipeliene {
sh 'mvn package'
}
}
stage( 'post build' ) {
steps {
archiveArtifacts artifacts: '**/spring-petclinic-3.0.0.jar'
onlyIfSuccesful: true
junit testResults: '**/test-results/test/TEST-*.xml'
}
}
}
}