Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-24810

The "invoke build for each property file" ParameterFactory Generates More than One Set of Builds, Doesn't Stop

XMLWordPrintable

      We are using the ParameterFactory, "for each property file, invoke one build," to create builds for a UI testing project. Lately (behavior started last week, no change to plugins or Jenkins version), the ParameterFactory does not stop generating sets of builds. After reaching the Parameterized Trigger build step, a correct number of builds are generated (about 72 builds of one project with different parameters), but after an undetermined amount of time between 1 and 10 minutes, another set of 72 builds are generated. This continues in a loop, without stopping, with an observed maximum of over 3000 builds of the same project.

      More use case information on the parameterized trigger build step:

      • Block until triggered projects finish=false
      • Predefined parameters used=true
      • Parameters from properties file used=true
      • For every property file, invoke one build=true
        • File pattern: "test_list/current_run/*.properties"
        • Action to perform when no files found: Fail the build step

      Logger output for "hudson.plugins.parameterizedtrigger":

      Sep 22, 2014 8:55:20 AM INFO hudson.plugins.parameterizedtrigger.FileBuildParameterFactory getParameters
      null
      Sep 22, 2014 8:55:20 AM INFO hudson.plugins.parameterizedtrigger.FileBuildParameterFactory getParameters
      null
      Sep 22, 2014 8:55:20 AM INFO hudson.plugins.parameterizedtrigger.FileBuildParameterFactory getParameters
      null
      Sep 22, 2014 8:55:20 AM INFO hudson.plugins.parameterizedtrigger.FileBuildParameterFactory getParameters
      null
      Sep 22, 2014 8:55:20 AM INFO hudson.plugins.parameterizedtrigger.FileBuildParameterFactory getParameters
      null
      Sep 22, 2014 8:55:20 AM INFO hudson.plugins.parameterizedtrigger.FileBuildParameterFactory getParameters
      null

      (This continues for another ten minutes with the same regularity)

        1. 0.properties
          0.1 kB
          Clinton Barr
        2. ChildProject_config.xml
          2 kB
          Clinton Barr
        3. ParameterizedTriggerBugReport_ParentProject_config.xml
          35 kB
          Clinton Barr
        4. ParameterizedTriggerBugReport_ParentProject_Log.txt
          15 kB
          Clinton Barr
        5. ParentProject_config.xml
          2 kB
          Clinton Barr

            Unassigned Unassigned
            cbarr Clinton Barr
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: