Original plugin doesn't have ap-southeast-7 support because the upstream library have hardcoded region, and this plugin iterate through that library
to populate region selection.
This fork just add ap-southeast-7 to the Region list of S3ItemStorage.java
- JDK 17
- Maven
To package this plugin use the following command:
mvn clean package -DskipTestsThis will output s3-jobcacher-storage.hpi in the folder target
To install in Jenkins go to Manage Jenkins -> Plugins -> Advanced Settings-> Select s3-jobcacher-storage.hpi file and click deploy
This plugin is an extension of the jobcacher-plugin that allows you to store the caches in S3 compliant storage
This was extracted from jobcacher since this PR
Warning
Users upgrading from version 640.v424a_7cc1087a_ of jobcacher and above AND using S3 storage MUST install this plugin.
Configuration is kept in the same place, but the plugin will not work with S3 storage without this extension.
You only need to configure the extension to use S3 under System Configuration.
unclassified:
globalItemStorage:
storage:
s3:
bucketName: "caches"
prefix: "the-prefix/"
credentialsId: "s3"
region: "eu-central-2"
unclassified:
globalItemStorage:
storage:
nonAWSS3:
bucketName: "caches"
prefix: "the-prefix/"
credentialsId: "s3"
endpoint: "http://localhost:9000"
parallelDownloads: false
pathStyleAccess: true
region: "eu-central-2"
See CONTRIBUTING
Licensed under MIT, see LICENSE
