This repository contains a custom configuration preset for Jenkins plugins.
-
Create a new file
.github/renovate.jsoncontaining:{ "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": [ "github>jenkinsci/renovate-config" ] }
-
Run a manual scan on your repository from the mend.io developer portal by selecting "Run Renovate Scan".
- That's it. Renovate will now use the custom configuration preset.
- Check to see if you have a
renovate.jsonalready. It can be in any of these possible locations.
We recommend moving it to .github/renovate.json if it is not already there.
-
Change
renovateconfig to:{ "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": [ "github>jenkinsci/renovate-config" ] }
-
By extending from
github>jenkinsci/renovate-configany usage ofenabledManagerswill disable the default managers. Unless there is a specific reason to do so,enabledManagersshould be removed.# remove this "enabledManagers": [ "customManager1", "customManager2" ]
-
That's it. Renovate will now use the custom configuration preset.
When contributing to this repository, validate your local changes running the following snippet:
npm install
npm testThis triggers the config validation to ensure the configuration is valid.
If you want to validate .github/renovate.json in your repository, you can execute the following command.
Make sure to install NodeJS (or use Node Version Manager) then run:
npx --yes --package renovate -- renovate-config-validator --strict