This is an automated email from the ASF dual-hosted git repository. gnodet pushed a commit to branch fix-ci-re-run-failure-when-using-gh-run-rerun in repository https://gitbox.apache.org/repos/asf/camel.git
commit ade87bbab5e83d670f22ced0faa5f016da2774a2 Author: Guillaume Nodet <[email protected]> AuthorDate: Tue Aug 25 10:03:28 2026 +0200 ci: disable Scalpel during help:evaluate to fix re-run failures When using 'gh run rerun --failed', the 'Fetch base branch for Scalpel change detection' step does not re-execute, leaving git state incomplete. Scalpel (configured in .mvn/extensions.xml) then fails when loaded during the 'Get Atlassian dependency version' step, causing help:evaluate to exit with code 1. Since help:evaluate only reads a property value and does not need change detection, disable Scalpel with -Dscalpel.enabled=false for this step. Co-Authored-By: Claude Opus 4.6 <[email protected]> --- .github/workflows/main-build.yml | 2 +- .github/workflows/pr-build-main.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main-build.yml b/.github/workflows/main-build.yml index 5270ffaf4b84..4264934b8291 100644 --- a/.github/workflows/main-build.yml +++ b/.github/workflows/main-build.yml @@ -54,7 +54,7 @@ jobs: - name: Get Atlassian dependency version id: atlassian-version run: | - JIRA_VERSION=$(./mvnw help:evaluate -Dexpression=jira-rest-client-api-version -q -DforceStdout -N -f parent/pom.xml) + JIRA_VERSION=$(./mvnw help:evaluate -Dexpression=jira-rest-client-api-version -q -DforceStdout -N -Dscalpel.enabled=false -f parent/pom.xml) echo "version=${JIRA_VERSION}" >> $GITHUB_OUTPUT - name: Restore Atlassian Maven Cache uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 diff --git a/.github/workflows/pr-build-main.yml b/.github/workflows/pr-build-main.yml index 7b9a9e4689f2..e724075b2109 100644 --- a/.github/workflows/pr-build-main.yml +++ b/.github/workflows/pr-build-main.yml @@ -119,7 +119,7 @@ jobs: - name: Get Atlassian dependency version id: atlassian-version run: | - JIRA_VERSION=$(./mvnw help:evaluate -Dexpression=jira-rest-client-api-version -q -DforceStdout -N -f parent/pom.xml) + JIRA_VERSION=$(./mvnw help:evaluate -Dexpression=jira-rest-client-api-version -q -DforceStdout -N -Dscalpel.enabled=false -f parent/pom.xml) echo "version=${JIRA_VERSION}" >> $GITHUB_OUTPUT - name: Restore Atlassian Maven Cache uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
