Re: Condition in pipeline

2016-12-28 Thread David Karr
It might help to realize that a pipeline script is just Groovy code. If you need to make sure that something is only executed when the current time is between 1pm and 2pm, just get the current time, convert it to hour of day, and have an "if" block comparing that value against your constraint. You

Condition in pipeline

2016-12-28 Thread Stefan Lorenz
Hi, i have a conditional step in a build configuration that is triggered by time, e.g. if time is between 1:00 and 2:00. How do I map that in pipeline script? Thanks and regards Stefan -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To un