jenkins-pipeline-cache-plugin icon indicating copy to clipboard operation
jenkins-pipeline-cache-plugin copied to clipboard

how about a feature to support run block if no hit the cache.

Open wuhuizuo opened this issue 2 years ago • 6 comments

New feature

The block will not run. if key exist:

cache(key: "cache-key-balabala", onlyRunWhenMiss: true, ...) {
  //  steps
}

wuhuizuo avatar Aug 04 '22 11:08 wuhuizuo