[BUILD-872] Make dep-bot-validate-pr-job compatible with Renovate's PR Created: 19/Jul/22  Updated: 03/Aug/22  Resolved: 03/Aug/22

Status: Closed
Project: Build
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Neutral
Reporter: Roberto Gomez Assignee: Maxime Michel
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
dependency
is depended upon by BUILD-827 Declined Renovate PRs Closed
relation
is related to BUILD-737 Find out how to trigger custom actions Closed
Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Epic Link: Release automation
Team: Foundation

 Description   

There is now the option available to launch the Jenkins job named dep-bot-validate-pr-job (see  BUILD-737) after each Renovate's PR. This Jenkins job has a couple of nuances that need attention to make it compatible with Renovate's PRs:

  1. The ticket parameter of the job doesn't accept '.' caracter and Renovate's branches could have it, like in 'renovate/master-micrometer.version'.
  2. The job has a sed substitution command incompatible with Renovate's branches like in 'renovate/master-micrometer.version'. Tipically all renovate branches are in the form of 'renovate/XXX'

The current implementation is due to the fact that previously the convention was to have one ticket (such as BUILD-123) that would be mapped to a boms branch. As we now tend to stay away from tickets, we would indeed need to refactor the job so that it works for the PRs that Renovate creates.


Generated at Sun Feb 11 23:45:59 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.