We have CC.NET as continuous integration environment. CC gets every commits from Git, build and publish to server.
This is config:
<buildpublisher
<sourceDir>Path_to_dir_with_source</sourceDir>
<publishDir>path_to_deploy</publishDir>
<cleanPublishDirPriorToCopy>true</cleanPublishDirPriorToCopy>
<useLabelSubDirectory>false</useLabelSubDirectory>
<alwaysPublish>true</alwaysPublish>
</buildpublisher>
But our QA engeneer wants to get “fresh” build every morning, not 20 times in a day 🙂
Anybody know how to make this with CC.NET?
[UPDATE]
We still need to build every commit, but put this commit to web server only once in a day
Use the ScheduleTrigger block:
You can also use a cronTrigger, or an intervalTrigger, but for your case, the scheduleTrigger seems simplest.
http://www.cruisecontrolnet.org/projects/ccnet/wiki/Trigger_Blocks
Added to address the comment:
You can have multiple triggers in one Project block.
We have an Interval Trigger on our end as well as a Schedule Trigger. You can have as many triggers as you need.
If you want to keep the builds separate, you can also have a compeltely separate Project block – one that operates on a Schedule trigger, and one that operates on an interval, but there are risks, and the configuration needs to be planned. The following comes to mind as potential considerations: