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

wrong parameters order with Jenkins Parameterized Trigger plugin

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • job-dsl-plugin
    • job-dsl-plugin 1.57
      parameterized trigger plugin 2.32
      jenkins 2.19.4

      when generating a parameterized trigger build, I want to run the current project with the same parameters except a boolean I want to switch

      In my DSL groovy script, I tried the options:

      1. same node
      2. current build
      3. boolean parameter

      but I got

      1. boolean parameter
      2. same node
      3. current build

      This above order is always the same, whatever the order of commands I specified in script

      The boolean parameter I want is overriden by current build whereas it should be the contrary. I prefer that the order of generated components matches the order of commands in groovy DSL.

      I tried automatically generated solution but I failed on ambiguity between hudson.tasks.buildtrigger and hudson.plugins.parameterizedtrigger.BuildTrigger

            daspilker Daniel Spilker
            vbricard Vincent Bricard-Vieu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: