Hi All,
I am very much new to Jenkins. I need your help.
I have 2 jobs:
Misc_Jobs/VM_Request_And_Validation
Misc_Jobs/SS_Install_Jboss
I have created one simple pipeline using Groovy Pipelines where the jobs
should run one after another.
node {
stage('Build Virtual Machine') {
build job: 'Misc_Jobs/VM_Request_And_Validation', parameters: [
string(name: 'Hostname', value:'satclient8'),
string(name:'DSType', value: "NAS")], wait: true
}
stage('Post Installation Stage') {
build job: 'Misc_Jobs/SS_Install_Jboss', parameters: [
string(name: 'Hostname', value:'satclient8'),
string(name:'DSType', value: "NAS")]
}
}
However I observed that the second job start running immediately after the
first one.
How to correct my script.
Regards,
Apurba
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/e6a107b0-071e-4a88-b2ad-6c04c0fb31bf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.