Schedule a buld at end of iteration every other week

We have a similar need that I read in this thread that was never actually answered:

http://devnet.jetbrains.com/message/5452900#434152

Our scrum teams work in two-week iterations, with the iterations ending every other Tuesday.  We have end of iteration builds that we need to schedule in TeamCity to run every other Tuesday.  I know I can schedule a job to run every Tuesday but we need a way to schedule it to run it every OTHER Tuesday.

I've tried using the advanced crontab entry format, but even that doesn't seem to provide any answers.

Anyone have an idea on how to do this?

Thanks,
James

2 comments

What about having two schedule triggers, one for each second Tuesday and another for each fourth Tuesday of the month? For this you can specify TUE#2 and TUE#4 in Day of week field.

0

Hey Per,

That is a pretty good idea.  In our case it is the 1st and 3rd Tuesdays.   It will work until April when there are 5 Tuesdays in the month.  Then we would have to switch to 2nd and 4th Tuesdays.  So we would need 5 jobs and schedule out which months they run on 1st & 3rd, 2nd & 4th, and the 5th Tuesday every 3 months.

Thanks,
James

0

Please sign in to leave a comment.