Deployment failure using the promoted builds plugin

Issue

Deployment failure using the promoted builds plugin

The console output of the build shows:

FATAL: Illegal choice for parameter REMOTE_SSH: $REMOTE_SSH
java.lang.IllegalArgumentException: Illegal choice for parameter REMOTE_SSH: $REMOTE_SSH
at hudson.model.ChoiceParameterDefinition.checkValue(ChoiceParameterDefinition.java:79)
at hudson.model.ChoiceParameterDefinition.createValue(ChoiceParameterDefinition.java:91)
at hudson.model.ChoiceParameterDefinition.createValue(ChoiceParameterDefinition.java:19)
at hudson.plugins.parameterizedtrigger.ProjectSpecificParameterValuesActionTransform.convertToDefinedType(ProjectSpecificParameterValuesActionTransform.java:82)
at hudson.plugins.parameterizedtrigger.ProjectSpecificParameterValuesActionTransform.transformParametersAction(ProjectSpecificParameterValuesActionTransform.java:33)
at hudson.plugins.parameterizedtrigger.ProjectSpecificParametersActionFactory.getProjectSpecificBuildActions(ProjectSpecificParametersActionFactory.java:33)
at hudson.plugins.parameterizedtrigger.BuildTriggerConfig.getBuildActions(BuildTriggerConfig.java:351)
at hudson.plugins.parameterizedtrigger.BuildTriggerConfig.perform(BuildTriggerConfig.java:372)
at hudson.plugins.parameterizedtrigger.BuildTrigger.perform(BuildTrigger.java:83)
at hudson.plugins.promoted_builds.Promotion$RunnerImpl.build(Promotion.java:403)
at hudson.plugins.promoted_builds.Promotion$RunnerImpl.doRun(Promotion.java:345)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
at hudson.model.Run.execute(Run.java:1738)
at hudson.model.Run.run(Run.java:1676)
at hudson.plugins.promoted_builds.Promotion.run(Promotion.java:284)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:410)
Finished: FAILURE

Environment

  • Cloudbees Jenkins Enterprise

  • Jenkins

  • Promoted Builds Plugin < v2.27

Resolution

Upgrade the Promoted Builds Plugin to v2.27 or greater.

See JENKINS-34826

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.