You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think I am also experiencing this. Although I have only one "Branch specifier" in Jenkins I have refspec of origin and PRs. Using ${ghprbActualCommit} does not work, Jenkins check out an old commit. Using {sha1} works, but then we are building the merge commit.
Something interesting: After one have built with {sha1} and then try to change back to ${ghprbActualCommit} the old commit it chooses are the commit that were used for the merge in {sha1}.
I think it is related or the same bug as this #683
Jenkins and plugins versions report
Environment
What Operating System are you using (both controller, and any agents involved in the problem)?
Ubuntu 20.04 on AWS
Java 11 on controller and worker nodes.
Reproduction steps
Expected Results
The code checked out & used for the test should be from the pull request.
Actual Results
The code checked out & used for the test is from a different commit (presumably master).
Anything else?
No response
The text was updated successfully, but these errors were encountered: