We have a Jenkins build and junit test suite. Junit test result
report has been published. Now we want to customize the report, e.g.
add application domain content, add URL link etc.
Is there some short-cut to do this, for example , customization
translator ? Or we have to change jenkins source. If change source,
we have to change core or plugins ?
Thanks a lot
I don't think that there is an extension point to customize the JUnit
results. The code for the JUnit tests results is part of Jenkins core.
One idea would be to add new extension points in core where you can
plug in your new visualizations from a separate plug-in.
Ulli
Thanks you guys !
Could you point me the process and necessary links if we select to
add a new extension point ? Secondly, it is possible we can
leverage TestDataPublisher to avoid writing a new extension point ?
Thanks
-Jian
On Dec 14, 2:02 am, Tom Huybrechts <tom.huybrec...@gmail.com> wrote:
> http://javadoc.jenkins-ci.org/hudson/tasks/junit/TestDataPublisher.html
>
> On Wed, Dec 14, 2011 at 10:13 AM, Ullrich Hafner
> <ullrich.haf...@gmail.com>wrote:
Wasn't there already a link in Tom's reply? (I wasn't aware that there
is already such an extension point...)
See our wiki on how to implent an extension point.
Ulli
I have read a wiki sample for Builder plug-in. So questions are -
1. When I extend TestDataPublisher, is there mvn HPI create for
TestDataPublisher, creating a skeleton plugin from which I can start
with
2. If no, might I know manual steps to create this kind skeleton
Thank you :)
-Jian
the reason I asked is
When I extend Builder and add it into project build, I am able to see
the "public DescriptorImpl getDescriptor() " is triggered.
But After I tweaked Builder into TestDataPublisher (most methods use
default impl) , I have not seen "public DescriptorImpl
getDescriptor() " is triggered.
So which action will fire event to "public DescriptorImpl
getDescriptor() " or I am missing something ..
Thanks so much
Thanks you guys :)