jenkins-pipeline-cache-plugin
jenkins-pipeline-cache-plugin copied to clipboard
A cloud native file cache for Jenkins build pipelines which uses an S3-Bucket as storage provider.
I'm not sure whats going on yet, but I had inappropriate cache hits, and tracked it down to hashFiles giving the same signature when file content had changed. Concretely, I...
Consider this executed pipeline. The caching step occurs after 'record pre-cache state' and before the parallel work immediately after. And the save step occurs at the end. But there is...
Something that I use from time to time in the github actions cache is the ability to tell when a hit has occurred. For instance, a cache keyed by a...
fixes #20 Changes: * introduce `fileCache` step * delegate all `cache` step requests to `fileCache` * mark `cache` as deprecated * print warning when `cache` step is used * adjust...
A Jenkinsfile can be written using declarative or scripted pipelines (see https://www.jenkins.io/doc/book/pipeline/#declarative-versus-scripted-pipeline-syntax). At the moment, only scripted pipelines are officially supported but it make sense to extend the support so...
Newer plugin versions can only be used with Java 11 or later. `[ERROR] Failed to execute goal org.jenkins-ci.tools:maven-hpi-plugin:3.34:validate (default-validate) on project jenkins-pipeline-cache: Java 11 or later is necessary to build...
takes care of #23
The [jobcacher-plugin](https://github.com/jenkinsci/jobcacher-plugin) provides a pipeline step named `cache` already. Since this plugin provides also a pipeline step named `cache`, this leads to a conflict if you want to use both...
New feature === The block will not run. if `key` exist: ```groovy cache(key: "cache-key-balabala", onlyRunWhenMiss: true, ...) { // steps } ```
There is another caching plugin at https://github.com/jenkinsci/jobcacher-plugin which was created some years ago and got a new maintainer. It currently performs caching differently than this plugin here but for example...