I'm getting this strange issue where the checkout command doesn't seem to checkout the latest commit.
[Pipeline] checkout
14:52:51 The recommended git tool is: NONE
14:52:51 using credential repo-access
14:52:51 > git rev-parse --is-inside-work-tree # timeout=10
14:52:51 Fetching changes from the remote Git repository
14:52:51 > git config remote.origin.url g...@bitbucket.org:redacted.git # timeout=10
14:52:52 Fetching upstream changes from g...@bitbucket.org:redacted.git
14:52:52 > git --version # timeout=10
14:52:52 > git --version # 'git version 2.23.3'
14:52:52 using GIT_SSH to set credentials Git access
14:52:52 > git fetch --tags --force --progress -- g...@bitbucket.org:redacted.git +refs/heads/*:refs/remotes/origin/* # timeout=10
14:52:54 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
14:52:54 > git rev-parse origin/master^{commit} # timeout=10
scmVars = checkout scm: [
$class: 'GitSCM',
userRemoteConfigs: [[credentialsId: "${GIT_CREDENTIALS}", url: "${GIT_URL}"]]
]
This repository has no "master" branch, it only has a "development" branch.