Open GoogleCodeExporter opened 9 years ago
Original comment by marc...@centrumsystems.com.au
on 18 Jun 2012 at 5:47
I added bug 148 before I saw this. I have the same need for a similar situation.
If any post-promotion actions are defined that run downstream jobs, they are
ignored by the build-pipeline plugin.
If the same actions are defined as a post-build action they work. The promotion
configs should be checked for pipelined actions in addition to the main
config.xml for a job.
Original comment by bruce.e...@gmail.com
on 28 Dec 2012 at 12:29
I took a look at this is and the reason it's not showing up is because the
Build Pipeline plugin assumes all actions to be an exact instance of (not a
subclass):
(action.getClass().equals(hudson.plugins.parameterizedtrigger.SubProjectsAction.
class))
Anything else is ignored, and the Promoted Builds plugin (I think) adds
PromotedProjectAction on which one could do getProcesses() and then look for
getBuildSteps() and those may include a project. Didn't even get the source to
properly get imported into IntelliJ, nor into Eclipse.
Original comment by fredrik....@squeed.com
on 21 May 2013 at 12:28
Hi Fredrik, I don't seem to have a problem with intellij.
What are you seeing?
Original comment by geo...@centrumsystems.com.au
on 22 Jun 2013 at 3:36
Hi everyone!
I was wondering if fredrik proposed solution fixes the issue... Have anyone
tested it?
I really +1 this issue! :)
Thanks!
Original comment by gerar...@gmail.com
on 1 Jul 2013 at 3:59
Hi
Is there a solution for this problem?
Thanks
Original comment by michael....@gmail.com
on 1 May 2014 at 11:08
Hi Michael,
As Bruce alluded to above, you can workaround the issue by adding any builds
that are started via a promotion action to your job's post-build actions as a
"Build other project (Manual step)" action. This post-build action won't
trigger the jobs, but it will allow the Build Pipeline to see the downstream
jobs.
In my configuration I am fingerprinting artifacts. I'm not sure if that is
required to employ this workaround.
Original comment by sieverssj@gmail.com
on 1 May 2014 at 11:51
It appears that I can only add a single Manual post-build action. Is that
typical? If so, how can I display multiple promotion steps in my pipeline?
Additionally, in my promotions I call the same job multiple times with
different parameters. However, with the work-around, the manual job only shows
once, which is misleading. Any suggestions for that?
Ultimately, it would be ideal to have each individual promotion display in the
Pipeline without having to have a bogus manual post-build action, so I'd love
to see a fix for this.
Original comment by caoimhi...@gmail.com
on 22 Jul 2014 at 3:56
To start multiple Manual post-build actions...
Make it a comma delimited list of jobs you want to start ;-)
Original comment by peter.pa...@randstadgroep.nl
on 26 Aug 2014 at 9:02
Guess that shoulda been obvious :-P Thanks.
Original comment by caoimhi...@gmail.com
on 28 Aug 2014 at 2:19
This work around will show the downstream jobs trigger by promotion, but it
doesn't really capture the flow logic where promotion happens only if a
downstream job passes. It looks like the downstream jobs and the promotion
triggered downstream jobs happened in parallel.
Original comment by jch...@netflix.com
on 26 Feb 2015 at 7:20
Original issue reported on code.google.com by
pablaa...@gmail.com
on 17 Jan 2012 at 9:40