This commit is contained in:
gopi vurata 2023-01-07 08:17:31 +05:30
parent 7f16586299
commit 4ae9b17a6f

9
Jenkinsfile vendored
View file

@ -1,6 +1,6 @@
pipeline {
agent { label 'node' }
parameters { choice(name: 'CHOICES', choices: ['main', 'new_branch', 'spring_master', ], description: 'using parameters') }
parameters { choice(name: 'CHOICES', choices: ['main', 'new_branch', 'spring_master','gopi' ], description: 'using parameters') }
triggers { pollSCM('* * * * *') }
stages {
stage('git') {
@ -38,6 +38,13 @@ pipeline {
}
}
}
stage("Quality Gate") {
steps {
timeout(time: 1, unit: 'HOURS') {
waitForQualityGate abortPipeline: false
}
}
}
stage ('publish build info') {
steps {
rtPublishBuildInfo (