Check if there are changes in the SCM to trigger the job