Skip to content

Update dependency go to v1.25.7

bebc67b
Select commit
Loading
Failed to load commit list.
Open

Update dependency go to v1.25.7 #21

Update dependency go to v1.25.7
bebc67b
Select commit
Loading
Failed to load commit list.
jenkins-cloudtrust / Jenkins completed Feb 5, 2026 in 1h 0m 22s

XRay scan: error in 'sh' step

XRay scan / Shell Script

Error in sh step, with arguments jf audit --watches jenkins-crit --sca --without-contextual-analysis --format sarif > jfrog-xray-issues.json.

script returned exit code 1
Build log
[2026-02-05T05:37:26.192Z] + jf audit --watches jenkins-crit --sca --without-contextual-analysis --format sarif
[2026-02-05T05:37:26.193Z] 06:37:25 [Info] ####### Starting jf audit Scan #######
[2026-02-05T05:37:26.193Z] 06:37:25 [Info] Command flags: [--format=sarif --sca=true --watches=jenkins-crit --without-contextual-analysis=true]
[2026-02-05T05:37:26.193Z] 06:37:26 [Info] Detecting recursively targets for scan in path: /home/jenkins/agent/workspace/gg_PR-21
[2026-02-05T05:37:26.452Z] 06:37:26 [Info] Calculating Go dependencies...
[2026-02-05T05:37:26.452Z] 06:37:26 [Info] Running 'go mod graph' in /home/jenkins/agent/workspace/gg_PR-21
[2026-02-05T05:37:26.452Z] 06:37:26 [Info] Performing scans on go project '/home/jenkins/agent/workspace/gg_PR-21' 
[2026-02-05T05:37:26.452Z] 06:37:26 [Info] Advanced Security is not enabled on this system, so Advanced Security scans were skipped...
[2026-02-05T05:37:26.452Z] 06:37:26 [Info] Xray is processing your scan results...
[2026-02-05T05:37:26.452Z] 06:37:26 [Info] No violations found.
[2026-02-05T05:37:26.452Z] 06:37:26 [Info] ####### jf audit Scan Finished #######
[2026-02-05T05:37:26.716Z] 06:37:26 [Info] Trace ID for JFrog Platform logs: 46e5c14af182862e
[2026-02-05T05:37:26.716Z] 06:37:26 [Error] target '/home/jenkins/agent/workspace/gg_PR-21 [go]' errors:
[2026-02-05T05:37:26.716Z] failed to generate SBOM for /home/jenkins/agent/workspace/gg_PR-21: failed to build dependency tree: failed while building 'go' dependency tree: Failed running Go command: 'go mod graph' in /home/jenkins/agent/workspace/gg_PR-21 with error: 'exit status 1 - go: go.mod requires go >= 1.24.0 (running go 1.23.9; GOTOOLCHAIN=local)
[2026-02-05T05:37:26.717Z] '

Details

  • Declarative: Checkout SCM (17 sec)
    • Init (7.9 sec)
    • Build (29 sec)
    • Unit tests (21 sec)
    • Sonarqube (49 sec)
    • XRay scan (17 sec)
      Error: script returned exit code 1 - logs
    • Release (1.8 sec)
    • Declarative: Post Actions (6.3 sec)