This pull request adds an option to disable the checking against AWS. The plugin is used in the caching plugin to store S3 credentials, even for local buckets. We don't need the credentials to be send to AWS. The changes are made in a way that preserves the current functionality by default.
Testing done
This was tested on our Jenkins instance and is currently active and in production. They work as expected.
The new settings look like this:
### Submitter checklist
- [x] Make sure you are opening from a **topic/feature/bugfix branch** (right side) and not your main branch!
- [x] Ensure that the pull request title represents the desired changelog entry
- [x] Please describe what you did
- [x] Link to relevant issues in GitHub or Jira
- [x] Link to relevant pull requests, esp. upstream and downstream changes
- [x] Ensure you have provided tests - that demonstrates feature works or fixes the issue
This pull request adds an option to disable the checking against AWS. The plugin is used in the caching plugin to store S3 credentials, even for local buckets. We don't need the credentials to be send to AWS. The changes are made in a way that preserves the current functionality by default.
Testing done
This was tested on our Jenkins instance and is currently active and in production. They work as expected.
The new settings look like this:![Screenshot of the settings](https://github.com/jenkinsci/aws-credentials-plugin/assets/145212/ba977f95-abfc-4a58-9bb8-f836673f3265)