This issue is archived. You can view it, but you can't modify it. Learn more

ExportXMLWordPrintable

      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

        1. JIRA_JENKINS_41741_autogenerated_dsl.groovy
          2 kB
          Vincent Bricard-Vieu
        2. JIRA_JENKINS_41741_dsl.groovy
          1 kB
          Vincent Bricard-Vieu

            Assignee:
            Daniel Spilker
            Reporter:
            Vincent Bricard-Vieu
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: