[BUILD-458] Avoid red builds AFTER release Created: 27/Apr/21  Updated: 28/Apr/21  Resolved: 28/Apr/21

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

Type: Task Priority: Neutral
Reporter: Christoph Meier Assignee: Mikaël Geljić
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Date of First Response:

 Description   

Note:
The issue reported here was already fixed. Though the ticket was created in order

  • to resolve a task that originated from the retro of the ui-fwk team
  • to remember to check jenkins after the next release

Problem

Symptom

After a release we encountered a bunch of failing builds.
Reported issue from jenkins:

Could not resolve dependencies for project info.magnolia.bundle.test:magnolia-integration-tests:jar:6.2.9-SNAPSHOT

The issue could have been resolved by manually installing the missing SNAPSHOT artifacts to jenkins.

The real issue

was actually in the integrationTestsPipeline.

and it already has been fixed by Mika, see commit

Revert "Don't clean install on integrationTestsPipeline bundle build"



 Comments   
Comment by Christoph Meier [ 27/Apr/21 ]

mgeljic - just for the records: I know it is fixed. See description why I was creating the ticket anyway.

¯_(ツ)_/¯ 

Comment by Mikaël Geljić [ 28/Apr/21 ]

integrationTestsPipeline works as follows:

  • in 'Build bundle' stage, runs mvn clean verify without integration tests, but used to mvn clean install the reactor artifacts because...
  • in 'Run integration tests' stage later on, the pipeline goes straight to the integration-tests/tests subdir and runs mvn verify directly from there. Since we're out of the reactor build context here, that's what made install required.

So that's why in the first it still needs to be a clean install not verify.
That February commit was mine. Out of alignment with moduleUiTestsPipeline, but the latter doesn't go into any subdir.

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