ci: copy artifacts from all module target folders for Kokoro attestation#406
Merged
taeold merged 1 commit intoJul 13, 2026
Merged
Conversation
Change-Id: I7321b06641ac0ed845113385005d5e8808a182ed
4c5b5fd to
e5984df
Compare
dylayed
approved these changes
Jul 13, 2026
taeold
approved these changes
Jul 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
During multi-module CI validation builds (
invoker), Kokoro attestation generation failed post-build:failed precondition no artifacts found for fileset artifacts, which is required;AppErrorCode=9While
mvn clean deploycompleted successfully (BUILD SUCCESS),.kokoro/build.shusedfind target/ -maxdepth 1to copy built artifacts into${REPO_DIR}/artifacts/for attestation. In multi-module projects likeinvoker, built.jarand.pomfiles reside inside nested subdirectories (core/target/,conformance/target/,testfunction/target/), causingfind target/ -maxdepth 1to return empty results.By updating
.kokoro/build.shto search across all nestedtarget/directories while explicitly excluding unit test artifacts (! -path "*/test-classes/*" ! -name "*-tests.jar"), all built production deliverables across single-module and multi-module packages are cleanly captured for Kokoro attestation.