Autocancel consecutive builds will ensure running builds are aborted when a new build start, leaving always the last build running.

autocancelConsecutiveBuilds()

node {
    // Steps
}