gocd icon indicating copy to clipboard operation
gocd copied to clipboard

add ability to force schedule pipeline for every change

Open srinivasupadhya opened this issue 11 years ago • 32 comments

currently Go merges multiple modifications of a material for scheduling pipeline.

So if pipeline A watches git repo G and the last run was for g1. Now there are 3 new commits into G - g2, g3, g4. Go would schedule A be merging them into one instance, thus saving time.

But sometimes it would be useful to force Go to schedule 3 different instances of A (1 for each change)

This will be useful to support feature-branch / PR build plugins. reference

srinivasupadhya avatar Mar 07 '15 12:03 srinivasupadhya

hey guys! Are there any plans in integrating this to mainline and end up in a release ?

Alex

alexouzounis avatar Sep 20 '15 10:09 alexouzounis

+1

msdisme avatar Sep 21 '15 18:09 msdisme

+1

uprial avatar Nov 24 '15 11:11 uprial

+1

aselus-hub avatar Dec 30 '15 18:12 aselus-hub

+1

jamescorbett avatar Jan 12 '16 14:01 jamescorbett

+1

virtuald avatar Jan 28 '16 21:01 virtuald

+1 We have a pipeline for Gerrit review builds. Apparently since Go merges commits it doesn't always build all the submitted patch sets and therefore doesn't mark them as verified/failed.

juhasipo avatar Feb 08 '16 14:02 juhasipo

i'm just surprised this is not a high priority core feature... since it's integral to the most common workflow of 'check builds before merging to master/dev'...

aselus-hub avatar Feb 09 '16 18:02 aselus-hub

+1

We're using Go with Gerrit to build feature branches. This commit merging behaviour prevents us from reliably building every change, hence making it unfeasible to track Gerrit changes. This should be fixed with a high priority - a lot of companies use Gerrit and get a LOT of commits into build queue. We need build and test information on EVERY broken commit, not just for the latest one made.

aleksihakli avatar Feb 19 '16 10:02 aleksihakli

We use jenkins for building pull requests, because of so many problems with building pull requests with GoCD. It's a shame.

virtuald avatar Mar 16 '16 17:03 virtuald

+1

hartjus avatar Aug 31 '16 17:08 hartjus

+1

darrenr avatar Sep 28 '16 03:09 darrenr

:+1:

fragsalat avatar Oct 14 '16 09:10 fragsalat

It really is a shame that GoCD doesn't support this yet. We were able to achieve this with a custom plugin but I think that it isn't the ideal way to implement this. The plugin requires an access to the GoCD API which is uses to poll GoCD to check if the pipeline is clear for the next commit.

This feels more like a hack and it would make a lot more sense if GoCD itself would be able to handle this. Then all the material plugins wouldn't need to implement the same feature every time and the plugins wouldn't need the API credentials in their settings.

juhasipo avatar Feb 09 '17 09:02 juhasipo

Hi GoCD team, is this issue on your radar? All of the GoCD PR plugins would be a lot more usable if this problem were addressed.

vivekprahlad avatar Mar 08 '17 01:03 vivekprahlad

@vivekprahlad - A full re-look at PR plugins (and what they can do) is going to happen soon and I suspect this will be a part of it. I don't see how it cannot.

arvindsv avatar Mar 10 '17 03:03 arvindsv

@arvindsv any updates on PR plugins and force scheduling pipelines per change?

sghill avatar Sep 11 '17 22:09 sghill

Hey, after spending hours trying to figure out how to address this for my company needs (we use feature branches) I ended up creating a simple service that notifies GoCD when certain changes happen using their official APIs. This solves our issue, for now, ofc would be way better to have an official solution but for now, it works. If anyone wants to give a look or use please be my guest: https://github.com/leonmaia/gocd-pr-notifier There's still some need to write more unit tests and etc but this is the binary that is running today in our server :)

leonmaia avatar Nov 21 '17 10:11 leonmaia

@arvindsv Support for reliable PR builds is probably the single most important thing most users of CI/CD pipelines need. Is there anything at all that can be done to speed up the decision-making process around this?

It's difficult to convince people to adopt GoCD until there is at least a plan and timeline around this question.

wonderhoss avatar Jul 03 '18 09:07 wonderhoss

Users at our company also still ask about this. For us it would be vital to know, if this is something to be expected or not at all.

dbalakirev avatar Sep 12 '18 11:09 dbalakirev

This is my biggest reason, well this and not even having a basic plugin manager, to stick with Jenkins... yes, even without BlueOcean...

Panajev avatar Feb 10 '19 11:02 Panajev

Hi GoCD team - is it possible to get an update on this feature request?

andrewcampbell avatar May 22 '19 03:05 andrewcampbell

This issue has resulted in hours wasted come code freeze time when lots of pr's are submitted at the same time resulting in some being ignored. This issue is made worse for larger teams.

Please fix thanks :)

kbalante avatar May 24 '19 15:05 kbalante

++1

ZukkyBaig avatar Jun 24 '19 17:06 ZukkyBaig

This issue has been automatically marked as stale because it has not had activity in the last 90 days. If you can still reproduce this error on the master branch using local development environment or on the latest GoCD Release, please reply with all of the information you have about it in order to keep the issue open. Thank you for all your contributions.

stale[bot] avatar Apr 01 '20 12:04 stale[bot]

Any updates on this?

joelsdc avatar Apr 07 '20 20:04 joelsdc

Updates?

mlsm-trl avatar Nov 27 '22 21:11 mlsm-trl

😭 Any updates..?

CreatiCoding avatar Feb 15 '23 04:02 CreatiCoding

There are no updates here. https://www.gocd.org/2023/02/13/gocd-project-status/ might be of interest.

chadlwilson avatar Feb 15 '23 04:02 chadlwilson