[JENKINS-33394][support-core plugin]

11 views
Skip to first unread message

Minudika Malshan

unread,
Mar 30, 2016, 5:32:22 PM3/30/16
to Jenkins Developers, Arnaud Héritier, Steve Christou
Hi,

I am trying to implement the feature requested in above subjected ticket.
Since I am new to using jelly, the back end code is confusing me a bit. 
In the source of support core plugin, I found index.html [1] file which contains the implementation of the UI for bundle generating interface. 
In the form of it, the action is called as "download". (line 40) 
 <f:form name="bundle-contents" method="POST" action="download">

Could you please let me know the location of the implementation, where "download" directs the submitted data. I am familiar with servlet implementations. I hope there's something similar in here.


And also any advice related to this implementation is much appreciated.

Thanks and regards.
Minudika

--
Minudika Malshan
Undergraduate
Department of Computer Science and Engineering
University of Moratuwa
Sri Lanka.



Arnaud Héritier

unread,
Mar 30, 2016, 6:46:20 PM3/30/16
to Minudika Malshan, Jenkins Developers, Steve Christou
The view is in 

src/main/resources/com/cloudbees/jenkins/support/SupportAction/index.jelly

Thus it is in the class

src/main/java/com/cloudbees/jenkins/support/SupportAction.java#L109

And especially in the method doDownload

You may find more details about Jelly and Stapler in our Wiki

I think that the team can give you more pointers
--
-----
Arnaud Héritier
Mail/GTalk: aheritier AT gmail DOT com
Twitter/Skype : aheritier
Reply all
Reply to author
Forward
0 new messages