j3t / jenkins-pipeline-cache-plugin

A cloud native file cache for Jenkins build pipelines which uses an S3-Bucket as storage provider.
MIT License
15 stars 2 forks source link

Resolve naming conflicts #20

Open j3t opened 2 years ago

j3t commented 2 years ago

The 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 plugins at the same time.

To solve this issue, the cache step is renamed to fileCache. According to the pipeline-step-reference, the fileCache step not exists yet. To avoid breaking changes, the old cache step function will still be available, at least for a certain period of time, but it prints out a warning message if it is used.

wuhuizuo commented 2 years ago

How about publish the plugin on Jenkins plugin center?

j3t commented 2 years ago

How about publish the plugin on Jenkins plugin center?

The plan is either to publish this plugin so that it is available on https://plugins.jenkins.io or it will be part of the existing jobcacher-plugin (see https://github.com/jenkinsci/jobcacher-plugin/pull/62).