Hello all, I have quite a few jobs set to run at a specific time, e.g.; once a day, as we only want daily builds for those jobs (other jobs are set to pick up changes as commits are made). The job will get changes from our git repo, it then executes a shell script with builds the project.
Is there a way to set something, perhaps via a plugin, to not execute the shell script if the last commit hash is the same as the one currently being checked, and thus not do anything. The script currently has code to check the last commit it built successfully agains the current commit, and if they match, fail the job (issues an "exit 1" command), but that obviously leads to a build failure in the Build History and I don't really want that as technically the build has not failed, the commit is just the same so it does not need to build it. Any suggestions or help is greatly appreciated. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.