Skip to content

Conversation

@NassimBtk
Copy link
Member

This pull request adds support for handling and uploading output files from sub-modules in the build process. It updates the logic to correctly identify and locate these files, ensuring that sub-module outputs are included in the artifact upload workflow. The most important changes are grouped below:

Sub-module Output Support:

  • Added entries for sub-module outputs (dummy-sub-module-1.0.00.pom and dummy-sub-module-1.0.00.txt) to the build info files, including their checksums and metadata. [1] [2]
  • Added the actual sub-module output files (dummy-sub-module-1.0.00.pom and dummy-sub-module-1.0.00.txt) to the repository for testing and upload purposes. [1] [2]

File Location and Upload Logic:

  • Updated readBuildInfoFile in src/buildinfo.js to collect only the output file names, not their paths, to avoid incorrect path assumptions for sub-module files. [1] [2]
  • Added a new searchFilePath function in src/search.js to locate files by name anywhere in the project directory structure, addressing the challenge of sub-module file locations.
  • Modified the upload process in src/run.js to use searchFilePath for resolving the actual file path before uploading each artifact, ensuring sub-module files are found and uploaded correctly. [1] [2]

@NassimBtk NassimBtk merged commit 40a5068 into main Oct 2, 2025
1 check passed
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