Skip to content

Conversation

@ncovercash
Copy link
Member

@ncovercash ncovercash commented Jan 16, 2026

#96 but only extracting sonar logic for parallel running.

Here's what this looks like:
image

Note that typically this would group sonar and uploading apidocs together, but apidocs also relies on version-number, so they technically have different dependencies and are shown separately.

Comment on lines -119 to -120
- name: Report whether doing Sonar scan
run: echo "do-sonar-scan=${{ inputs.do-sonar-scan }}" | tee -a $GITHUB_STEP_SUMMARY
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't copy this one over as I felt the actions UI was sufficient here (it'll show the entire step skipped if its disabled, and rerunning with debug will explicitly show that it was skipped because inputs.do-sonar-scan was disabled. If you'd still like it printed, that could be moved to the main one or in the report-testing-variables

@ncovercash ncovercash force-pushed the FOLIO-4126-extract-sonar branch from c3facc3 to 96062c7 Compare January 16, 2026 23:55
Comment on lines +163 to +170
- name: Upload additional build artifacts
uses: actions/upload-artifact@v6
with:
name: build-artifacts
path: |
target
!target/**/*.jar
!target/apidocs
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sonar needs target/classes, target/generated-sources, and whatever other magic stuff gets dumped in target depending on the module's configuration, so we upload it all. This is <2MB in my testing, so little overhead (and is a great debugging resource for devs, too).

@dcrossleyau dcrossleyau changed the title [FOLIO-4126] Extract sonar logic FOLIO-4418 FOLIO-4126 Extract sonar logic Jan 18, 2026
Copy link
Contributor

@dcrossleyau dcrossleyau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@dcrossleyau dcrossleyau merged commit de41943 into FOLIO-4126-maven-workflows-1 Jan 18, 2026
@dcrossleyau dcrossleyau deleted the FOLIO-4126-extract-sonar branch January 18, 2026 02:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants