Skip to content

Jenkinsfile: Now checks out ref names instead of pinned commits - #2468

Draft
larsewi wants to merge 1 commit into
cfengine:masterfrom
larsewi:pull-ref-checkout
Draft

Jenkinsfile: Now checks out ref names instead of pinned commits#2468
larsewi wants to merge 1 commit into
cfengine:masterfrom
larsewi:pull-ref-checkout

Conversation

@larsewi

@larsewi larsewi commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

GitHub replaces refs/pull/N/merge every time the pull request is pushed to.
A build that had already pinned the old merge commit could then no longer
check it out.

The other Jenkins jobs pass the ref name to git and let each node resolve
it, so do that here too.

Signed-off-by: Lars Erik Wik lars.erik.wik@northern.tech

GitHub replaces refs/pull/N/merge every time the pull request is pushed to.
A build that had already pinned the old merge commit could then no longer
check it out.

The other Jenkins jobs pass the ref name to git and let each node resolve
it, so do that here too.

Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
@cf-bottom

Copy link
Copy Markdown

Thank you for submitting a PR! Maybe @craigcomstock can review this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants