Trigger build when another project finishes (OD-2595)
wojtek opened 2 months ago

I tried to setup a different project build (ProjectB) based on either branch update or build finished in other project (ProjectA).

I though that "Applicable Projects" would do just that but after reading a bit (https://code.onedev.io/onedev/server/~issues/1064, https://code.onedev.io/onedev/server/~issues/109) this is not the intent of the field.

I found one older issue: https://code.onedev.io/onedev/server/~issues/1837 that suggest using REST to trigger downstream build -- is it still the only option to do that (it is 2 years old).

Is there any other option to flip the triggering: start downstream build by specifying which finished jobs / changes in repository in upstream? That is specify in ProjectB that it should start build when ProjectA finished instead of naming ProjectB in ProjectA.

  • Robin Shen commented 2 months ago

    Fire via restful api is still the only approach currently. I added an improvement request to handle this case: OD-2596

  • wojtek commented 2 months ago

    ok, thank you.

  • wojtek changed state to 'Closed' 2 months ago
    Previous Value Current Value
    Open
    Closed
issue 1/1
Type
Question
Priority
Normal
Assignee
Labels
No labels
Issue Votes (0)
Watchers (2)
Reference
OD-2595
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover