added changes

This commit is contained in:
Madhuri-chinta 2023-03-14 16:20:21 +05:30
parent 5dbb58bc7e
commit 600b291c54

9
Jenkinsfile vendored
View file

@ -1,18 +1,19 @@
pipeline { pipeline {
agent { label 'UBUNTU_NODE1' } agent { label 'UBUNTU_NODE1' }
trigger { trigger { pollSCM('* * * * *') }
pollSCM('* * * * *') }
stages { stages {
stage('get url') stage('get url') {
steps { steps {
git branch: 'sweety', git branch: 'sweety',
url: 'https://github.com/Madhuri-chinta/spring-petclinic.git' url: 'https://github.com/Madhuri-chinta/spring-petclinic.git'
} }
stage('package') }
stage('package') {
steps { steps {
sh './mvnw package' sh './mvnw package'
} }
} }
}
} }