Skip to content

Conversation

@reshmifrog
Copy link
Contributor

  • All tests have passed. If this feature is not already covered by the tests, new tests have been added.
  • The pull request is targeting the master branch.
  • The code has been validated to compile successfully by running go vet ./....
  • The code has been formatted properly using go fmt ./....

problem: When using the jf rt download command with the --build flag to download artifacts associated with a specific build, the --exclusions flag is ignored. Files matching the exclusion pattern are still downloaded.
soltuion: When using the --build flag, the dl cmd was calling createAqlBodyForBuildArtifacts() which only included build name/number filters in the AQL query, completely ignoring --exclusions param. The fix adds new functions that properly include exclusion patterns into the AQL query using buildExcludeQueryPart(), ensuring files matching exclusion patterns are filtered out.

@reshmifrog reshmifrog added bug Something isn't working safe to test Approve running integration tests on a pull request labels Feb 1, 2026
@reshmifrog reshmifrog enabled auto-merge (squash) February 1, 2026 21:26
@reshmifrog reshmifrog added safe to test Approve running integration tests on a pull request and removed safe to test Approve running integration tests on a pull request labels Feb 1, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Feb 1, 2026

👍 Frogbot scanned this pull request and did not find any new security issues.


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working safe to test Approve running integration tests on a pull request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant