Skip to content

fix(jenkins): install unzip in Audit stage for Advanced Security Scans - #3515

Merged
ehl-jf merged 1 commit into
masterfrom
fix-audit-release-step
May 27, 2026
Merged

ehl-jf merged 1 commit into
masterfrom
fix-audit-release-step

Conversation

@ehl-jf

@ehl-jf ehl-jf commented May 27, 2026 •

Copy link
Copy Markdown
Contributor

Description

The Audit stage in the release Jenkinsfile fails with:

could not find any of the required executables ('unzip', '7z') in the system PATH to run the Advanced Security Scans

The docker-ubuntu20-xlarge agent does not ship with unzip or 7z, which the JAS scanners require to unpack their analyzer bundles.

This change installs unzip on demand inside the Audit stage (only when neither unzip nor 7z is already present), right before invoking jf audit. The install is guarded so re-runs and future image upgrades are no-ops.


  • 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 ./....

@ehl-jf ehl-jf added ignore for release Automatically generated release notes safe to test Approve running integration tests on a pull request labels May 27, 2026
@ehl-jf
ehl-jf merged commit f500b2d into master May 27, 2026
118 of 120 checks passed
@ehl-jf
ehl-jf deleted the fix-audit-release-step branch May 27, 2026 11:15

This branch had an error being deployed

1 failed deployment
frogbot — b1fc8bc9 Deployed May 27, 2026 by ehl-jf via scan-pull-request #4332
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ignore for release Automatically generated release notes safe to test Approve running integration tests on a pull request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants