Dear all,

I have a Maven project with two jobs:
1) Test - runs all tests (with surefire), and runs on every SCM commit
2) Deploy - deploys the new version on a server, and runs once at midnight

Everything is running great. However, we're now on a phase where changes
don't happen very often. Still, every night the deploy job redeploys the
project. Ideally, if no commits were performed that day, there is no need
for the deploy job to run.

Is there a way to "run project only if there were changes in the upstream
since the previous run" ?


Cheers,

Miguel Almeida

Reply via email to