Facing Error in loading Build Action page

26 views
Skip to first unread message

selva vignesh

unread,
May 30, 2019, 7:52:43 AM5/30/19
to Jenkins Developers
Hi team,
I have configured one Build action and later time added one more Build action class and made a old class as pojo class.
Now, i am facing 
<st:include> No page found 'sidepanel.jelly' for class io.jenkins.plugins.sample.BuildAction Exception.
Even i have configured correctly
can anyone let me know how to fix this issue

Same Code working for Project Action

index.jelly

<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:l="/lib/layout">
<l:layout>
<st:include it="${it.build}" page="sidepanel.jelly"/>
<l:main-panel>
<h1>${it.displayName}</h1>
<h2>Build #${it.buildNumber}'s Output: ${it.message}</h2>
Build Start Time : ${it.StartTime}
<j:set var="actionDone" value="${it.getDetails()}"/>
<j:forEach var="action" items="${actionDone}">
<p>${action}</p>
</j:forEach>
</l:main-panel>
</l:layout>
</j:jelly>Facing Error in loading page

Gavin Mogan

unread,
May 30, 2019, 2:36:29 PM5/30/19
to jenkin...@googlegroups.com
I would guess that sidepanel doesn't exist for buildaction while it does for project action

Does it work without the include?


--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/167e00e4-9e5e-4792-8280-464d2107318f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

selva vignesh

unread,
May 31, 2019, 3:54:44 AM5/31/19
to jenkin...@googlegroups.com
Already I have configured the same for build action and got proper output. After some time I have changed the build action class then only I got this exception. 
Any way to overcome this issue  

Jesse Glick

unread,
Jun 3, 2019, 8:06:44 AM6/3/19
to Jenkins Dev
On Thu, May 30, 2019 at 7:52 AM selva vignesh <selvavi...@gmail.com> wrote:
> <st:include> No page found 'sidepanel.jelly' for class io.jenkins.plugins.sample.BuildAction Exception.
>
> <st:include it="${it.build}" page="sidepanel.jelly"/>

What is `it` in this case? What type does the `getBuild()` method
return? Not sure where you are copying this example from exactly, but
if this Jelly file is associated with a `BuildAction`, then that class
should have a `getBuild()` method returning a `Run`.
Reply all
Reply to author
Forward
0 new messages