From 26752417397c006d919130d902b755d0e74de98f Mon Sep 17 00:00:00 2001 From: jenkins Date: Tue, 25 Aug 2026 13:03:13 -0300 Subject: [PATCH] fix(hermes-agent): checkout scm in the amd64 build leg (fix exit 128) The amd64 leg runs on its own fresh titan-24 pod but never checked out the SCM, so its independent reviewed-revision boundary check hit 'git rev-parse origin/main -> fatal: not a git repository' and the build failed with exit 128 (the arm64 leg built and pushed fine). Add checkout scm to the amd64 stage. Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_01BvMSXH8VH2tMWXanb8SJdf --- ci/Jenkinsfile.hermes-agent-image | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ci/Jenkinsfile.hermes-agent-image b/ci/Jenkinsfile.hermes-agent-image index 776c34a3..c10ff9e4 100644 --- a/ci/Jenkinsfile.hermes-agent-image +++ b/ci/Jenkinsfile.hermes-agent-image @@ -329,6 +329,10 @@ spec: } } steps { + // This amd64 leg runs on its own fresh pod (titan-24), so it must check + // out the SCM itself before the reviewed-revision git boundary check — + // otherwise `git rev-parse origin/main` fails with "not a git repository". + checkout scm container('jnlp') { sh ''' set -eu