Tuesday, January 02, 2007

Calendar OGNL expression for Luntbuild

Wow, that's my first message with year that I started with Luntbuild. I looked for an ognl expression to preform build only in a specific time range.

So, after reading the documentation and surfing on forums, I found the class OGNLHelper on Luntbuild CVS repository. Bingo!

Here is a exemple of a expression that returns true in a specific time range :
(system.getHour() in {0,1,2,3,4,5,6})

In this example, build will be done betwenn midnight and 6:00am.

1 comment:

Rahul said...

Thanks for the great information in your blog Selenium Training in Chennai