[JIRA] (JENKINS-53540) Dynamically allow user to provide information in "Input text box" field for Active Choices Reactive Reference Parameter

633 views
Skip to first unread message

tvs.pavan@gmail.com (JIRA)

unread,
Sep 12, 2018, 6:02:02 PM9/12/18
to jenkinsc...@googlegroups.com
Venkata Siva Naga Tatikonda updated an issue
 
Jenkins / Improvement JENKINS-53540
Dynamically allow user to provide information in "Input text box" field for Active Choices Reactive Reference Parameter
Change By: Venkata Siva Naga Tatikonda
Attachment: Input text box disabled.png
Attachment: Install input text box field.png
Attachment: Rollback still displays input text box field.png
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

tvs.pavan@gmail.com (JIRA)

unread,
Sep 12, 2018, 6:02:02 PM9/12/18
to jenkinsc...@googlegroups.com
Venkata Siva Naga Tatikonda created an issue
Issue Type: Improvement Improvement
Assignee: Bruno P. Kinoshita
Attachments: Input text box disabled.png, Install input text box field.png, Rollback still displays input text box field.png
Components: active-choices-plugin
Created: 2018-09-12 22:01
Environment: Jenkins ver. 2.107.2
Active Choices Plug-in v2.1
Dynamic Extended Choice Parameter Plug-In v1.0.1
Extended Choice Parameter Plug-In v0.76
Labels: jenkins plug-in
Priority: Major Major
Reporter: Venkata Siva Naga Tatikonda

We have a scenario where if user selects an option to install rpm (choice parameter) then display an additional field for user to provide input rpm package info in Jenkins UI.

 Please see Input text box disabled.png and Install input text box field.png for reference.
 

If user selects option as rollback (choice parameter) then don't  display any additional parameters in Jenkins UI.

Please see Rollback still displays input text box field.png for reference.

Let me know if any additional information is required.

Thanks,
Pavan.

 

 

 

tvs.pavan@gmail.com (JIRA)

unread,
Sep 12, 2018, 6:04:01 PM9/12/18
to jenkinsc...@googlegroups.com
Venkata Siva Naga Tatikonda updated an issue
We have a scenario where if user selects an option to install rpm (choice parameter) then display an additional field for user to provide input rpm package info in Jenkins UI.

 Please see  Input text box disabled.png and Install input text box field.png for reference.
 

If user selects option as rollback (choice parameter) then don't  display any additional parameters in Jenkins UI.

Please see Rollback still displays input text box field.png for reference.

Note:- RPM_Package_Action is

Let me know if any additional information is required.

Thanks,
Pavan.

 

 

 

tvs.pavan@gmail.com (JIRA)

unread,
Sep 12, 2018, 6:05:02 PM9/12/18
to jenkinsc...@googlegroups.com
Venkata Siva Naga Tatikonda updated an issue
We have a scenario where if user selects an option to install rpm (choice parameter) then display an additional field for user to provide input rpm package info in Jenkins UI.

 Please see  Input text box disabled.png and Install input text box field.png for reference.
 

If user selects option as rollback (choice parameter) then don't  display any additional parameters in Jenkins UI.

Please see Rollback still displays input text box field.png for reference.

Note:-
" RPM_Package_Action " is
an active choice reactive reference parameter
            "packagenames" is an active choice parameter

Let me know if any additional information is required.

Thanks,
Pavan.

 

 

 

imoutsatsos@msn.com (JIRA)

unread,
Mar 9, 2019, 10:09:01 AM3/9/19
to jenkinsc...@googlegroups.com
Ioannis Moutsatsos commented on Improvement JENKINS-53540
 
Re: Dynamically allow user to provide information in "Input text box" field for Active Choices Reactive Reference Parameter

This behavior is already present in AC Reactive Reference. Return a 'Formatted HTML' parameter  (not an Input Text Box) of <input> type and insure that under advanced options you select 'Omit value filed' You can even provide a default value that can be further edited by the user.

Something like this would work:

return """<input name="value" value="${ReactiveRefParam}" class="setting-input" type="text">"""

begood@mailbox.org (JIRA)

unread,
May 13, 2019, 5:32:03 AM5/13/19
to jenkinsc...@googlegroups.com
Hao Maio commented on Improvement JENKINS-53540

The return statement doestn work ... at least the ${ReactiveRefParam} resolves to empty

imoutsatsos@msn.com (JIRA)

unread,
May 13, 2019, 6:52:10 AM5/13/19
to jenkinsc...@googlegroups.com

You understand of course that ${ReactiveRefParam} is either a referenced parameter (from upstream input) or a variable computed in within the code block of the AC Reactive Reference. If you are still having difficulty, please, submit your configuration for me to provide additional feedback. Bets regards

megna201996@gmail.com (JIRA)

unread,
Apr 9, 2020, 9:14:02 AM4/9/20
to jenkinsc...@googlegroups.com

How do I access these input values in jenkins pipeline?

This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo

brunodepaulak@yahoo.com.br (JIRA)

unread,
Apr 9, 2020, 6:51:03 PM4/9/20
to jenkinsc...@googlegroups.com

Not sure if that will work well with pipelines Meghana V, the plug-in is not developed with pipelines in mind (though it may work). It's designed for the HTML DOM of Jenkins UI, which can act different when using pipelines.

Reply all
Reply to author
Forward
0 new messages