title: Make jenkins auto build one a day but build only when there are source code changed
body: <p>I have problem in configure jenkins to auto build and deploy java project. I want to build and deploy once a day. However this build only there are changes during the day. IF there is no changes, I don't want jenkins to auto build and deploy. 
  Note: that I used gitlab as source code management. 
  Can you help me with this configuration.?</p>