I'm working with Hudson plugins. Jelly views are the most complicated thing for me.
So the question is how to use JavaScript code in Jelly scripts?
P.S. "Hello World" script is working good but simpl开发者_JS百科e "for" loop brings a lot of problems...
Not sure if this is what you are expecting but, to reference a javascript file (for example):
<script ... src="${rootURL}/plugin/findbugs/tabview-min.js" />
Regarding the "for" part, I don't get it exactly. Do you mean jelly's forEach
?
For for loop jelly Gives error for < or > sign. Use array.forEach(FunctionName). Add logic for For loop in Function.
精彩评论