Changing Java class variable of RunAction2 inside of index.jelly
18 views
Skip to first unread message
Nozim Islamov
unread,
Jun 22, 2022, 1:07:47 PM6/22/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Jenkins Developers
Hello, everyone. I have this problem where I want to change the value of Java class variable that is being used for index.jelly, is there any possibility to do so from index.jelly by calling setter?
I have a button and a dropdown to change value to.
Thanks for any help.
Nozim Islamov
unread,
Jun 22, 2022, 8:31:15 PM6/22/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Jenkins Developers
The problem was that <bind> works incorrectly with empty classes, i.e. classes without Descriptor, therefore I implemented another class StaplerProxy, and pushed changes to git if someone needs it