title: Jenkins run without build
body: <p>I have made a simple program that needs to be executed once in every hour. I've set in Jenkins to run every hour and run shell commands at post step of the build.</p>
  
  <p>The thing is that it needs to build only when the code is changed on GIT. If nothing has changed, I'd just like to run the post steps without the new build.</p>
  
  <p>Is there any way to take care of this? I just can't find any plugins to take care of this.</p>
  
  <ul>
  <li>git change -> build -> run post step.</li>
  <li>git not change -> build X -> run post step every hour</li>
  </ul>
  
  <p>Thanks in advance.</p>
  
  <p><strong>-edit-</strong> </p>
  
  <p>This simple program is currently running on my Jenkins every hour as below. </p>
  
  <p>trigger(every hour) -> get code from Github -> build -> run post step(executing three shell commands)</p>
  
  <p>But! I want to change to</p>
  
  <p>trigger(every hour) -> <strike>get code from Github -> build -></strike> run post step(executing three shell commands)<br>
  +<br>
  trigger(when Github code changes) -> get code from Github -> build -> run post step(executing three shell commands)</p>