-
Bug
-
Resolution: Unresolved
-
Major
-
None
Hello! I updated jenkins lts to 2.4402. and Active Choices Plug-in 2.8.3.
But, at Active Choices Plug-in 2.8.2,
CascadeChoiceParameter loading error happen.
I made build parameter right that.
choice( name: 'Test1', choices: ["A", "B"].join("\n"), description: 'for test1' ), choice( name: 'Test2', choices: ["C", "D"], description: 'for test2' ), [ $class: 'CascadeChoiceParameter', name: 'LogOptions", choiceType: "PT_SINGLE_SELECT", referenceParameters: "Test1,Test2", script: [ $class: 'GroovyScript", script: [ classpath: [], sandbox: true, script: """ if (Test1.equals('A') && Test2.equals('C')) { return [ 'First:selected', 'second' ] } else { return [ 'First:selected' ] }""".stripIndent() ] ], description: 'Test' ]
And I access at build parameter page, I cannot select parameter value of "LogOptions" parameter. only loading status showing. This parameter type is "CascadeChoiceParameter. I think CascadeChoiceParameter have bug. have you try to check this bug please?
(at Active Choices Plug-in 2.8.3, same problem happen.
[JENKINS-72949] In CascadeChoiceParameter, loading status happen. So, I cannot select items in parameter at all.
Description |
Original:
Hello! I updated jenkins lts to 2.4402. and Active Choices Plug-in 2.8.3.
But, at Active Choices Plug-in 2.8.2, CascadeChoiceParameter loading error happen. I made build parameter right that. {code:java} choice( name: 'Test1', choices: ["A", "B"].join("\n"), description: 'for test1' ), choice( name: 'Test2', choices: ["C", "D"], description: 'for test2' ), [ $class: 'CascadeChoiceParameter', name: 'LogOptions", choiceType: "PT_SINGLE_SELECT", referenceParameters: "Test1,Test2", script: [ $class: 'GroovyScript", script: [ classpath: [], sandbox: true, script: """ if (Test1.equals('A') && Test2.equals('C')) { return [ 'First:selected', 'second' ] } else { return [ 'First:selected' ] }""".stripIndent() ] ], description: 'Test' ]{code} |
New:
Hello! I updated jenkins lts to 2.4402. and Active Choices Plug-in 2.8.3.
But, at Active Choices Plug-in 2.8.2, CascadeChoiceParameter loading error happen. I made build parameter right that. {code:java} choice( name: 'Test1', choices: ["A", "B"].join("\n"), description: 'for test1' ), choice( name: 'Test2', choices: ["C", "D"], description: 'for test2' ), [ $class: 'CascadeChoiceParameter', name: 'LogOptions", choiceType: "PT_SINGLE_SELECT", referenceParameters: "Test1,Test2", script: [ $class: 'GroovyScript", script: [ classpath: [], sandbox: true, script: """ if (Test1.equals('A') && Test2.equals('C')) { return [ 'First:selected', 'second' ] } else { return [ 'First:selected' ] }""".stripIndent() ] ], description: 'Test' ]{code} And I access at build parameter page, I cannot select parameter value of "LogOptions" parameter. only loading status showing. This parameter type is "CascadeChoiceParameter. I think CascadeChoiceParameter have bug. have you try to check this bug please? |
Description |
Original:
Hello! I updated jenkins lts to 2.4402. and Active Choices Plug-in 2.8.3.
But, at Active Choices Plug-in 2.8.2, CascadeChoiceParameter loading error happen. I made build parameter right that. {code:java} choice( name: 'Test1', choices: ["A", "B"].join("\n"), description: 'for test1' ), choice( name: 'Test2', choices: ["C", "D"], description: 'for test2' ), [ $class: 'CascadeChoiceParameter', name: 'LogOptions", choiceType: "PT_SINGLE_SELECT", referenceParameters: "Test1,Test2", script: [ $class: 'GroovyScript", script: [ classpath: [], sandbox: true, script: """ if (Test1.equals('A') && Test2.equals('C')) { return [ 'First:selected', 'second' ] } else { return [ 'First:selected' ] }""".stripIndent() ] ], description: 'Test' ]{code} And I access at build parameter page, I cannot select parameter value of "LogOptions" parameter. only loading status showing. This parameter type is "CascadeChoiceParameter. I think CascadeChoiceParameter have bug. have you try to check this bug please? |
New:
Hello! I updated jenkins lts to 2.4402. and Active Choices Plug-in 2.8.3.
But, at Active Choices Plug-in 2.8.2, CascadeChoiceParameter loading error happen. I made build parameter right that. {code:java} choice( name: 'Test1', choices: ["A", "B"].join("\n"), description: 'for test1' ), choice( name: 'Test2', choices: ["C", "D"], description: 'for test2' ), [ $class: 'CascadeChoiceParameter', name: 'LogOptions", choiceType: "PT_SINGLE_SELECT", referenceParameters: "Test1,Test2", script: [ $class: 'GroovyScript", script: [ classpath: [], sandbox: true, script: """ if (Test1.equals('A') && Test2.equals('C')) { return [ 'First:selected', 'second' ] } else { return [ 'First:selected' ] }""".stripIndent() ] ], description: 'Test' ]{code} And I access at build parameter page, I cannot select parameter value of "LogOptions" parameter. only loading status showing. This parameter type is "CascadeChoiceParameter. I think CascadeChoiceParameter have bug. have you try to check this bug please? (at Active Choices Plug-in 2.8.3, same problem happen. |
Attachment | New: screencast.gif [ 62429 ] |
Attachment | New: image-2024-04-08-11-15-03-275.png [ 62430 ] |
Attachment | New: 스크린샷 2024-04-08 오전 11.15.37.png [ 62431 ] |
Priority | Original: Minor [ 4 ] | New: Major [ 3 ] |