Skip to content

2026.11.5

Choose a tag to compare

@mergify-ci-bot mergify-ci-bot released this 06 Nov 13:48
· 18 commits to main since this release
Immutable release. Only release title and notes can be modified.
32af2a0

CI

  • On a Jenkins multibranch build of a Mergify merge queue draft pull request, mergify ci git-refs and mergify ci scopes read the merge queue's git note for the draft's branch (CHANGE_BRANCH), as on GitHub Actions: scopes returns the scopes the merge queue decided for the batch plus the merge queue scope, under both the head and the merge checkout strategies, and git-refs compares from the commit the batch was built on, fetching it when a shallow clone lacks it. Reading the note fetches it from origin, which needs the repository's credentials in the step; without them the build is compared from its target branch as before.

  • On a shallow clone, mergify ci scopes, and mergify ci git-refs on a Jenkins change request, now deepen the history until it holds the merge base of the pull request and its base, instead of stopping at the first common ancestor the clone shows. When a branch merged into the base since the pull request forked started from an older commit, that older commit was taken as the merge base, and the base's own changes since it were counted as the pull request's, selecting scopes it does not touch. A pull request whose base moved more than about 300 commits on since it forked no longer fails with "cannot find a common ancestor" on a depth-1 GitHub Actions checkout.

  • The test names, failure messages and stack traces mergify ci junit-process prints from a JUnit report, the test names and details mergify tests show, tests quarantine and tests runs print from Mergify, and the JSON output of those commands and of mergify ci queue-info escape ##[ and a : that would start a line, on every line they span, so a pull request can no longer write a GitHub Actions workflow command into the job log through them.

  • When Jenkins builds a Mergify merge queue branch as a plain branch, with no pull request (a multibranch job that discovers every branch, a plain Git source, a freestyle job), mergify ci git-refs and mergify ci scopes now read the merge queue's git note for the branch (GIT_BRANCH, else BRANCH_NAME), as they do on a draft pull request build. scopes returns the scopes the merge queue decided for the batch plus the merge queue scope, and git-refs compares from the commit the batch was built on instead of the last commit. Reading the note fetches it from origin, which needs the repository's credentials in the step; without them the build is compared as before.

  • On a Jenkins multibranch build of a Mergify merge queue draft pull request, mergify ci queue-info prints the batch under the merge checkout strategy too, once the target branch moved on since the draft was built: it reads the merge queue's git note for the draft's branch (CHANGE_BRANCH), as mergify ci git-refs and mergify ci scopes do, on the draft's head rather than on Jenkins' merge of it. A Jenkins build of a pull request from a fork gets no batch, as with those commands.

  • On a Jenkins multibranch build, mergify ci junit-process files the tests under the multibranch project (my-repo) as both the pipeline and the job name, instead of JOB_NAME (my-repo/PR-123), so every branch and pull request of the project reports under the same pipeline name and job name in CI Insights. A job outside a multibranch project keeps JOB_NAME. Its run id is the build's JOB_NAME#BUILD_ID (my-repo/PR-123#5), as the Mergify Jenkins plugin reports it.

  • mergify ci scopes, ci git-refs, ci queue-info and tests runs no longer wait on a credential prompt when origin asks for one: the git call fails at once, as it does on a runner with no terminal. That covers git's own prompt, ssh's passphrase and host key questions, including through an ssh command the job names (such as the one actions/checkout writes for its ssh-key), and Git Credential Manager's.

Test clients

  • On a Jenkins multibranch build of a Mergify merge queue draft pull request, the test clients read the merge queue's note for the draft's branch (CHANGE_BRANCH), so Fail First asks about the draft's batch and its verdicts are filed under the draft's branch instead of PR-<n>. A pull request from a fork reads no note.