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

Promoting Builds fail with: FATAL: Illegal choice:

XMLWordPrintable

      Promoting a build fails to run the promotion job and returns the error below. I have double checked the parameters for the job and everything seems to be in order. There are 8 parameters on the build. 6 are default values and 2 are selected from parameters dropdown before execution of the promotion. The drop down values are determined by Extensible choice, Global Choice Parameters.

      Started by user ***.*****
      Building in workspace /usr/share/tomcat7/.jenkins/workspace/svc-auto-build
      Promoting svc-auto-build #2637 - master
      FATAL: Illegal choice:
      java.lang.IllegalArgumentException: Illegal choice:
      at jp.ikedam.jenkins.plugins.extensible_choice_parameter.ExtensibleChoiceParameterDefinition.createValueCommon(ExtensibleChoiceParameterDefinition.java:398)
      at jp.ikedam.jenkins.plugins.extensible_choice_parameter.ExtensibleChoiceParameterDefinition.createValue(ExtensibleChoiceParameterDefinition.java:431)
      at jp.ikedam.jenkins.plugins.extensible_choice_parameter.ExtensibleChoiceParameterDefinition.getDefaultParameterValue(ExtensibleChoiceParameterDefinition.java:451)
      at hudson.plugins.parameterizedtrigger.DefaultParameterValuesActionsTransform.getDefaultParameters(DefaultParameterValuesActionsTransform.java:28)
      at hudson.plugins.parameterizedtrigger.DefaultParameterValuesActionsTransform.transformParametersAction(DefaultParameterValuesActionsTransform.java:15)
      at hudson.plugins.parameterizedtrigger.ProjectSpecificParametersActionFactory.getProjectSpecificBuildActions(ProjectSpecificParametersActionFactory.java:33)
      at hudson.plugins.parameterizedtrigger.BuildTriggerConfig.getBuildActions(BuildTriggerConfig.java:351)
      at hudson.plugins.parameterizedtrigger.BuildTriggerConfig.perform3(BuildTriggerConfig.java:419)
      at hudson.plugins.parameterizedtrigger.BlockableBuildTriggerConfig.perform3(BlockableBuildTriggerConfig.java:66)
      at hudson.plugins.parameterizedtrigger.TriggerBuilder.perform(TriggerBuilder.java:88)
      at hudson.plugins.promoted_builds.Promotion$RunnerImpl.build(Promotion.java:345)
      at hudson.plugins.promoted_builds.Promotion$RunnerImpl.doRun(Promotion.java:287)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537)
      at hudson.model.Run.execute(Run.java:1741)
      at hudson.model.Run.run(Run.java:1679)
      at hudson.plugins.promoted_builds.Promotion.run(Promotion.java:232)
      at hudson.model.ResourceController.execute(ResourceController.java:98)
      at hudson.model.Executor.run(Executor.java:408)
      Finished: FAILURE

        1. config.xml
          4 kB
          Stephen Nichols

            ikedam ikedam
            snichols Stephen Nichols
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: