使用一般的scm步骤
checkout([$class: 'GitSCM', branches: [[name: commitHash ]], userRemoteConfigs: [[url: 'http://git-server/user/repository.git']]])

使用一般的scm步骤
checkout([$class: 'GitSCM', branches: [[name: commitHash ]], userRemoteConfigs: [[url: 'http://git-server/user/repository.git']]])