Hi Thanks for the info. I will try it out.
I have another to you if i may ask. Here is the scenario
I have a plugin developed which does "Execute Test"
The execute test plugin does the following as a post build step
1. Produce a JMS message
2. Run Test1
3. Publish result
Now I want to make it little different. So that when i add multiple post
build step "execute test", it should do
loop 3 times{
1. Produce a JMS message
2. Run Test1
3. Publish result
2. RunTest2
3. Publish result
2. RunTest3
3. Publish result
}
I dont want to make Step1 every time. I just want to do once per JOB. Is
there any way other than developing step1 alone as a plugin & the rest as
another plugin?
I also dont want to put this step1 in global.jelly file.
On Fri, Jul 11, 2014 at 8:03 PM, Surya Gaddipati <[email protected]>
wrote:
> Like this
>
>
> https://github.com/groupon/DotCi-Plugins-Starter-Pack/blob/master/src/main/java/com/groupon/jenkins/dotci/plugins/JunitPluginAdapter.java#L48
>
> On Monday, July 7, 2014 2:04:09 AM UTC-5, Manivel R wrote:
>>
>> I am writing a jenkins plugin using Java & Jelly script and wanted to
>> automatically call the "Publish JUnit test result report" step at the end.
>> I do see an option in the post build step but i am looking to achieve this
>> as part of plugin itself. So that i dont have to exclusively call this step
>> ""Publish JUnit test result report".
>>
>> I red something doPost() method will trigger the post build action but
>> wanted to know how to i call ""Publish JUnit test result report" as part of
>> it.
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Jenkins Developers" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/jenkinsci-dev/DPjA1lcNwNE/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> For more options, visit https://groups.google.com/d/optout.
>
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.