I have a Jenkins pipeline using the following code to checkout the project to build.
checkout([$class: 'GitSCM', branches: [[name: "*/develop"]], doGenerateSubmoduleConfigurations: false, extensions: [[$class: 'CloneOption', noTags: false, reference: '', shallow: false],[$class: 'LocalBranch', localBranch: "**"]], submoduleCfg: [], userRemoteConfigs: [[credentialsId: 'foobar', url: 'git@github.com:foo/bar.git']]])
After the build is done, click the build record.
Same as click the Status page.
How do I make git Revision display the remote repo address, for example like git@github.com:foo/bar.git/tree/develop, instead of refs/remotes/origin/develop.
Also in the Git Build Data page as shown below.
Thanks in advance!