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

          burtsevyg Yuriy Burtsev created issue -
          burtsevyg Yuriy Burtsev made changes -
          Field Original Value New Value
          Description active-choices-plugin with jquery-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([])])
          active-choices-plugin with jquery-plugin does not update data in Active Choices Reactive Parameter.
          Example Jenkinsfile:

          {code:java}
          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([])])
          {code}
          burtsevyg Yuriy Burtsev made changes -
          Description active-choices-plugin with jquery-plugin does not update data in Active Choices Reactive Parameter.
          Example Jenkinsfile:

          {code:java}
          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([])])
          {code}
          active-choices-plugin with jquery-plugin (which needed for sonar plugin) does not update data in Active Choices Reactive Parameter.
          Example Jenkinsfile:

          {code:java}
          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([])])
          {code}
          After remove jquery-plugin all work perfect.
          kinow Bruno P. Kinoshita made changes -
          Priority Critical [ 2 ] Minor [ 4 ]
          kinow Bruno P. Kinoshita made changes -
          Resolution Cannot Reproduce [ 5 ]
          Status Open [ 1 ] Resolved [ 5 ]
          burtsevyg Yuriy Burtsev made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            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: