How to get Jenkins to cancel scm-triggered build if another scm-triggered build happens?

I have a project that takes about 15 minutes to start building it in jenkins (phpunit is the longest build item).

I set up scm-triggered builds (svn based), so every time a commit happens, the build starts (using a post-commit script).

However, if a commit occurs while jenkins is still building a project, it waits for the previous build to complete.
Since the old assembly does not matter after a new commit has been made, how do I get jenkins to cancel the current assembly if the new assembly is pending for the same project?

+5
source share
1 answer

, , , , .

, Quiet period Advanced Project Options .

+3

All Articles