We want to automate upgrade dependencies task.
Everything will be in a specific Jenkinsfile used by Jenkins in a cron job.
The task will:
- use Maven to check dependency updates
- if there are:
- create a branch and put the upgrade commit
- create a PR in order to trigger a build. As it we will test the upgrade
- create a JIRA ticket referencing all dependency updates
In the end, a human review will be required to merge the PR, delete the branch and resolve the JIRA ticket.
Some ideas of parameters:
- specify which kind of upgrade to look for: minor/patch
- specify dependencies to exclude