jenkinsci / multibranch-action-triggers-plugin

MultiBranch Actions Trigger Plugin
https://plugins.jenkins.io/multibranch-action-triggers/
MIT License
32 stars 7 forks source link

Pipeline starts before the `RunOnPipelineCreate` finished #22

Open dvdlevanon-sgh opened 2 years ago

dvdlevanon-sgh commented 2 years ago

Describe the bug Pipeline starts before the RunOnPipelineCreate finished

To Reproduce Steps to reproduce the behavior:

  1. Create a Pipeline job, and use it as the RunOnPipelineCreate of a Multibranch Pipeline job
  2. Create a new branch
  3. Both the new pipeline and the PipelineCreate job run concurrently

Expected behavior The new pipeline job should be blocked until the PipelineCreate is done

Desktop (please complete the following information):

Additional context From the Readme, it implies the new pipeline job should be blocked until the PipelineCreate job is done.

For example, you may need to build up a new environment when a new branch is created and this environment must be ready before the pipeline starts

PhilippHomann commented 2 years ago

The same applies for run deletion.

aytuncbeken commented 4 months ago

Hi @PhilippHomann and @dvdlevanon-sgh

Is this still happening ?