rkhmelyuk / multirun

IntellijIDEA plugin to group and run multiple Run Configurations in a single click
http://plugins.jetbrains.com/plugin/7248
Apache License 2.0
93 stars 27 forks source link

Execute next configuration after the previous configuration has finished successfully #44

Closed Phitherek closed 3 years ago

Phitherek commented 8 years ago

I want to use this plugin for setting up deployment, and then stopping and starting the server. I would like to be able to create a queue of configurations, which is not really what the "Run configurations one by one" does right now. As the time of performing task varies, the pause in seconds is not really helpful in this case. Also, configuration that fails should abort running the next ones in the queue in this case.

luisesp19 commented 7 years ago

Maybe you can use the "Before launch" feature and add "Run Another Configuration" as many times as you need

ratulmukh commented 6 years ago

Doing this worked pretty well. However, for the configurations in the 'before launch', their tabs close as soon as execution is over. :(. Gives me very little time to see the logs and can be limiting.

navakrishna commented 5 years ago

Before Launch is not applicable for our use case, we have maven launchers and want to execute independently when it run in group launch, dependency is required and want to use start each configuration one by one avoiding with delay option. Is there any possibility?

rkhmelyuk commented 3 years ago

Sounds to be similar to https://github.com/rkhmelyuk/multirun/issues/19.

rkhmelyuk commented 3 years ago

Starting from version 1.11.1 it is possible to run one configuration just after the other configuration completed when selecting "Start configurations one by one" and using negative delay.

Multirun now does not wait for delay time to start next configuration if previous has completed. In this case, even if using large delay, once current task is completed, the next will start immediately.