Skip to content

[JENKINS-64591] Multi-configuration project ALWAYS triggers parametrized build for ALL childs if a pipeline job in the project list to build #787

Description

@jenkins-infra-bot

Let's compare behavior of  a pipeline job and a freestyle job when they are triggered as parametrized build in the Post-Build section from a Mutli-configuration job.

In my example I have a multi-configuration job :

test-parametrizedPlugin-multi-conf-job that calls 2 jobs one freestyle and one pipeline :

  • test-parametrizedPlugin-called-pipeline-job
  • test-parametrizedPlugin-called-freestyle-job

 

First test, the 2 jobs are in the same Projects to build list( Note that the Trigger build from child project option is not set ):

Then the 2 jobs are triggered for each child as we can see as it is reported in the console logs of the 2 called jobs.

Second test, the 2 jobs are in separate Projects to build list( Note that the Trigger build from child project option is not set ) :

Then the 2 jobs are triggered but not with the same behavior,

freestyle job is run as expected :

but pipeline job is run for each child as we can see as it is reported in the console log:


Originally reported by merlindam, imported from: Multi-configuration project ALWAYS triggers parametrized build for ALL childs if a pipeline job in the project list to build
  • status: Open
  • priority: Critical
  • component(s): parameterized-trigger-plugin
  • resolution: Unresolved
  • votes: 3
  • watchers: 5
  • imported: 2025-12-07
Raw content of original issue

Let's compare behavior of  a pipeline job and a freestyle job when they are triggered as parametrized build in the Post-Build section from a Mutli-configuration job.

In my example I have a multi-configuration job :

test-parametrizedPlugin-multi-conf-job that calls 2 jobs one freestyle and one pipeline :

  • test-parametrizedPlugin-called-pipeline-job
  • test-parametrizedPlugin-called-freestyle-job

 

First test, the 2 jobs are in the same Projects to build list( Note that the Trigger build from child project option is not set ):

Then the 2 jobs are triggered for each child as we can see as it is reported in the console logs of the 2 called jobs.

Second test, the 2 jobs are in separate Projects to build list( Note that the Trigger build from child project option is not set ) :

Then the 2 jobs are triggered but not with the same behavior,

freestyle job is run as expected :

but pipeline job is run for each child as we can see as it is reported in the console log:

environment
Jenkins Version: 2.263.1<br/>
Parametrized trigger Plugin Version : 2.39
10 attachments

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions