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

ExtendedChoiceParameter not supported in Jenkins CLI (ssh)

      If I attempt to start a parameterized build via the Jenkins CLI via SSH with an extended choice parameter I get the following message:

      CLI parameter submission is not supported for the class com.cwctravel.hudson.plugins.extended_choice_parameter.ExtendedChoiceParameterDefinition type. Please file a bug report for this
      

      I am able to start them by clicking build, and via url with wget.

      How I ran this:

      ssh -o ServerAliveInterval=10 -p 9200 hudsonmaster1 build -s test_job -p URL=LAST -p FOR_CHECK_DEVEL=true -p PLATFORM=x86 -p TEST_SET=main_functional_set -p BRANCH=devel
      

      The platform parameter is an extended choice param.

          [JENKINS-24639] ExtendedChoiceParameter not supported in Jenkins CLI (ssh)

          Daniel Beck added a comment -

          Not an issue with CLI, the plugin's parameter type just needs to implement ParameterDefinition.createValue(CLICommand, String).

          Daniel Beck added a comment - Not an issue with CLI, the plugin's parameter type just needs to implement ParameterDefinition.createValue(CLICommand, String) .

          Oleg Nenashev added a comment -

          It should be fixed in 0.34 (see JENKINS-22924)
          Please re-open JENKINS-22924 if you still experience the issue on the new version

          Hope that vimil starts updating the Version history at some point

          Oleg Nenashev added a comment - It should be fixed in 0.34 (see JENKINS-22924 ) Please re-open JENKINS-22924 if you still experience the issue on the new version Hope that vimil starts updating the Version history at some point

            vimil vimil
            dannystaple Danny Staple
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: