您可以在管道中使用以下内容:
git branch: 'master', credentialsId: '12345-1234-4696-af25-123455', url: 'ssh://git@bitbucket.org:company/repo.git'
如果您使用的是ssh网址,则您的凭据必须为用户名+私钥。如果您使用的是https克隆URL而不是ssh,则您的凭据应为用户名+密码。

您可以在管道中使用以下内容:
git branch: 'master', credentialsId: '12345-1234-4696-af25-123455', url: 'ssh://git@bitbucket.org:company/repo.git'
如果您使用的是ssh网址,则您的凭据必须为用户名+私钥。如果您使用的是https克隆URL而不是ssh,则您的凭据应为用户名+密码。