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

Conflict active-choices-plugin with jquery-plugin

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      active-choices-plugin with jquery-plugin (which needed for sonar plugin) does not update data in Active Choices Reactive Parameter.
      Example Jenkinsfile:

      properties([parameters([booleanParam(defaultValue: false, description: '', name: 'RELEASE'), [$class: 'CascadeChoiceParameter', choiceType: 'PT_SINGLE_SELECT', description: '', filterable: false, name: 'TEST', randomName: 'choice-parameter-123', referencedParameters: 'RELEASE', script: [$class: 'GroovyScript', fallbackScript: [classpath: [], sandbox: false, script: ''], script: [classpath: [], sandbox: false, script: '''
      
      if (RELEASE.equals(\'on\')){
      return ['xtrue',RELEASE] }
      else{
      return ['xfalse',RELEASE]
      }
      ''']]]]), pipelineTriggers([])])
      

      After remove jquery-plugin all work perfect.

        Attachments

          Activity

            People

            Assignee:
            kinow Bruno P. Kinoshita
            Reporter:
            burtsevyg Yuriy Burtsev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: