[JIRA] (JENKINS-59188) How Can I access multiple HTML text box values separately using Active Choice Reactive Reference Parameter

0 views
Skip to first unread message

jhaprakash1995@gmail.com (JIRA)

unread,
Sep 2, 2019, 9:59:03 AM9/2/19
to jenkinsc...@googlegroups.com
prakash jha created an issue
 
Jenkins / Task JENKINS-59188
How Can I access multiple HTML text box values separately using Active Choice Reactive Reference Parameter
Issue Type: Task Task
Assignee: Bruno P. Kinoshita
Attachments: Screenshot from 2019-09-02 19-26-25.png
Components: active-choices-plugin
Created: 2019-09-02 13:58
Environment: Active Choice Plugins
Labels: active-choices textbox
Priority: Major Major
Reporter: prakash jha

How Can I access multiple HTML text box values separately using the Active Choice Reactive Reference Parameter?
For e.g.
If I click on Frontend_Sprint_Branch_And_Master_Merge, two text box gets opened as HTML.
Now if I want these two values separately in variables how can I do that 
I do not want this value as a single value stored in frontend_merge.

I want both this values ffchef_backend and ffchef_frontend separately.
I found one similar ticket but didn't find any reply.https://issues.jenkins-ci.org/browse/JENKINS-54887

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

imoutsatsos@msn.com (JIRA)

unread,
Sep 11, 2019, 11:42:01 AM9/11/19
to jenkinsc...@googlegroups.com
Ioannis Moutsatsos commented on Task JENKINS-59188
 
Re: How Can I access multiple HTML text box values separately using Active Choice Reactive Reference Parameter

If you must have multiple parameters into a single Jenkins parameter 'Frontend_Merge' you can have an AC REF parameter that returns a json structure and then parse it in your build.

So the 'Frontend_Merge' would return a value something like:

{
"ffchef_backend":[
"branch1",
"branch2"
],
"ffchef_frontend":[
"branch3",
"branch4"
]
}

Nonetheless, I would still recommend having a separate AC Ref for 'ffchef_backend' and another for ffchef_frontend'

This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

imoutsatsos@msn.com (JIRA)

unread,
Sep 11, 2019, 11:43:01 AM9/11/19
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages