-
Bug
-
Resolution: Fixed
-
Major
-
None
The bbs_checkout: BitbucketSCMStep does not support Git Submodules
Neither does the scm object if you use 'checkout scm' in your Jenkinsfile and set your sub-module properties up in the Jenkins Pipeline project properties.
Funny thing is it works in the sandbox but not when used in a Jenkinsfile.
When used from Jenkinsfile I get this error on checking out the sub-modules
hudson.plugins.git.GitException: Command "git.exe submodule update --init --recursive External" returned status code 1:
stdout:
stderr: Cloning into 'C:/Jenkins/jobs/xxxxxx/jobs/HookTesting/jobs/TestDevelop/workspace@script/External'...
git@bitbucket.XXX.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
- duplicates
-
JENKINS-60492 Connection with Bitbucket server over SSH
- Closed