Reputation: 1
Suppose I've below hierarchy of Jenkins Job -
TestJob1 -> TestJob11, TestJob2, TestJob3, TestJob4...
And There is Downstream Job "CollectStatusJob" and here TestJob1...TestJob4 are configured in "Project to Watch List". CollectStatusJob Configuration
In this CollectStatusJob How can I get the status of all upstream jobs (TestJob1...TestJob4) like accessing environment variables of all upstream Jobs?
Upvotes: 0
Views: 288
Reputation: 1633
I’m not sure the default triggering function can do that. You can, however, use the Parameterized trigger plugin and this can pass info to the job it’s triggering, so that job can check it.
Upvotes: 0