Jenkins plugin, thresholds and criticality

104 views
Skip to first unread message

Lars Nordin

unread,
Sep 29, 2011, 11:55:37 AM9/29/11
to robotframe...@googlegroups.com

Is there any way to configure the RF Jenkins plug in so that

 if 100% of the critical tests pass that the build is marked “unstable” (yellow)

 if all tests pass that the build is marked “success” (blue)

 

Message has been deleted

Mykhailo Moroz

unread,
Sep 30, 2011, 12:50:58 PM9/30/11
to lno...@internap.com, robotframe...@googlegroups.com
Hi Lars,

I think no. I had to update RF Jenkins plug in to do the things like this.

Regards,
--Mykhailo

-- 
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To post to this group, send email to robotframe...@googlegroups.com.
To unsubscribe from this group, send email to robotframework-u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/robotframework-users?hl=en.

Lars Nordin

unread,
Sep 30, 2011, 3:31:48 PM9/30/11
to Mykhailo Moroz, robotframe...@googlegroups.com

What version of RF are you using and would it possible to get a copy of your modified plugin?

(even better would be if these changes could be pushed back into RF)

Janne Härkönen

unread,
Oct 1, 2011, 2:33:15 AM10/1/11
to moro...@gmail.com, lno...@internap.com, robotframe...@googlegroups.com
Hi Mykhailo,

On Fri, Sep 30, 2011 at 11:33 AM, Mykhailo Moroz <moro...@gmail.com> wrote:
> I think no. I had to update RF Jenkins plug in to do the things like this.

If your changes are generically applicable, I encourage you to make a
pull request in the robot-jenkins project at:
https://github.com/jenkinsci/robot-plugin

This way, they could end up benefiting all users of the plugin.

thanks,
--J

--
Janne Härkönen | http://reaktor.fi
http://twitter.com/#!/janneharkonen

Mykhailo Moroz

unread,
Oct 3, 2011, 4:52:49 AM10/3/11
to Janne Härkönen, lno...@internap.com, robotframe...@googlegroups.com
Hi Janne,

I added one additional checkbox to the config.jelly as you can see here: http://s2.share.te.ua/b366664/moqu17qpeo.png

So when any of non-critical tests fail the build will be marked as unstable. This works for me, but I think we could add more settings e.g. thresholds for non-critical tests to make it more configurable. 

What do you think?

Regards,
--Mykhailo

Pekka Klärck

unread,
Oct 3, 2011, 5:46:30 PM10/3/11
to moro...@gmail.com, Janne Härkönen, lno...@internap.com, robotframe...@googlegroups.com
2011/10/3 Mykhailo Moroz <moro...@gmail.com>:

> Hi Janne,
> I added one additional checkbox to the config.jelly as you can see
> here: http://s2.share.te.ua/b366664/moqu17qpeo.png
> So when any of non-critical tests fail the build will be marked as unstable.
> This works for me, but I think we could add more settings e.g. thresholds
> for non-critical tests to make it more configurable.
> What do you think?

The checkbox looks good to me. As Janne already suggested, please
submit a pull request to the author of the Jenkins plugin at
https://github.com/jenkinsci/robot-plugin

Cheers,
.peke
--
Agile Tester/Developer/Consultant :: http://eliga.fi
Lead Developer of Robot Framework :: http://robotframework.org

Reply all
Reply to author
Forward
0 new messages