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

Upgrading to version 2.6.4 from 2.5.7 does not work provided DSL script

XMLWordPrintable

      Good morning 

      I have a dsl job creation job that includes active choice parameters and when I migrate the plugin to version 2.6.X I get the following error:

        

      Processing provided DSL script
      ERROR: (unknown source) No signature of method: javaposse.jobdsl.plugin.structs.DescribableContext.parameters() is applicable for argument types: (script$_run_closure2$_closure31$_closure33$_closure41$_closure44$_closure45$_closure46) values: [script$_run_closure2$_closure31$_closure33$_closure41$_closure44$_closure45$_closure46@63cdeea6]

      code:

       

      cascadeChoiceParameter {
         choiceType('PT_SINGLE_SELECT')
          name ("entrega")
          filterable(false)
          filterLength(1)
        referencedParameters('proyecto')
         description("Seleccione la versión de subversion que quiere comprobar")
          randomName("choice-parameter-entrega_1")
          script {
            scriptlerScript(){
             scriptlerScriptId ("entregas.groovy")
             parameters {
                  scriptlerScriptParameter {
                      name("proyecto")
                      value("\$" + "{proyecto}")
                  }
                scriptlerScriptParameter {
                      name("entrega")
                      value("")
                  }
                 scriptlerScriptParameter {
                      name("modulo_tecnico")
                      value("")
                  }
              }
            }
          }
        }
      

       

      greetings and thanks

            kinow Bruno P. Kinoshita
            icv6373 Ismael
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: