There is no chaining mechanism I am aware of built in.
If you want to chain 2 pipeline jobs 'P1' and 'P2' you can just build P2
from a 'post' section of the last stage on P1.
Your pipeline code would need to look something like this:
pipeline {
agent any
stages {
stage('First') {
steps {
echo 'Pipeline P1 first stage'
}
}
stage('Last') {
steps {
echo 'Pipeline P1 last stage'
}
post {
always {
build 'P2'
}
}
}
}
post {
failure {
echo "Pipeline chain failed"
}
}
}
You can probably build it in the BlueOcean pipeline editor somehow.
--Bill
On Friday, 2 June 2017 07:01:39 UTC+1, viral chande wrote:
>
> Any response on this will be really helpfull.
>
> On Thursday, June 1, 2017 at 12:42:54 PM UTC+5:30, slide wrote:
>>
>> Please don't double post.
>>
>> On Wed, May 31, 2017 at 11:25 PM viral chande <[email protected]>
>> wrote:
>>
>>> Hi,
>>> Is there any why i can trigger one pipeline at the end of another in
>>> blue ocean?
>>> Thanks,
>>> Regards,
>>> Viral Chande
>>>
>>> --
>>> 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/a87d10b4-fd80-4155-904b-66a9bd5e1152%40googlegroups.com
>>>
>>> <https://groups.google.com/d/msgid/jenkinsci-users/a87d10b4-fd80-4155-904b-66a9bd5e1152%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
--
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/00bb685d-b773-4b31-8c83-a9bb7a8a131e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.