Discussion:
calling another job from parent job
Akshay Paturkar
2018-11-13 05:37:23 UTC
Permalink
Hi All,
i am trying to call job from another job and able to do it by following
below instructions .
https://jenkins.io/doc/pipeline/steps/pipeline-build-step/

But I am not able to see stages executed under called job.
how do we enable stages of called job to be displayed under build job stage
?
--
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 jenkinsci-users+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/d86805e3-8792-41e8-895a-d77c2e7fec40%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
ZillaYT
2018-11-13 18:02:59 UTC
Permalink
Are you using a Jenkinsfile or are you doing this in the Jenkins job config
page?
Post by Akshay Paturkar
Hi All,
i am trying to call job from another job and able to do it by following
below instructions .
https://jenkins.io/doc/pipeline/steps/pipeline-build-step/
But I am not able to see stages executed under called job.
how do we enable stages of called job to be displayed under build job
stage ?
--
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 jenkinsci-users+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/44eff6ba-5a24-4e3b-b313-8ae1c8e7a7b0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Victor Martinez
2018-11-13 22:21:02 UTC
Permalink
As far as I'm aware off, the run of each 'job/pipeline' is independent
therefore all the stages, in any downstream* job, won't be shown in the
upstream job unfortunately. The only way I'm aware of, is using a shared
library/pipeline to call the same steps that the downstream job runs.

*** aka a job which was triggered from another job, independently whether
it was using the traditional freestyle or the scripted/declarative pipeline.

Cheers
--
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 jenkinsci-users+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/0d11d843-da56-4869-aee1-eb9914faffd9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...