Open danhiris opened 6 years ago
Hi,
I think this has to do with a task that is using a repository definition (e.g., the checkout task) which then fails the requirements check.
Could you please tell me what kind of tasks you have in this job that are related to repository definitions? The DSL would help me much to reproduce the issue.
Thanks, Michael
Yes, by removing the whole scm setting, it fixed it but it seems like I have issues either due to sshSharedCredentials or the url as I test it with just the url, branch and sshSharedCredentials.
Also tried the url with "ssh://git@
scm { git(name: 'usf_vault') { url "git@hostname:chefci/usf_vault.git" branch "master" sshSharedCredentials "aws_git_bamboo_rsa" advancedOptions { useShallowClones true enableRepositoryCachingOnRemoteAgents true useSubmodules true commandTimeoutInMinutes 20 verboseLogs true fetchWholeRepository true quietPeriod { waitTimeInSeconds 120 maximumRetries 3 } } } }
Any word on how I can get the scm repo added with shared ssh keys for authentication?
@danhiris Please excuse my late response. Unfortunately, I wasn't able to reproduce this problem with just the given scm
setting. Would you mind to share a complete DSL which allows me to reproduce it? You could also open a support ticket if you don't want to paste it here publicly. Thanks!
I get this error when I try to run my test DSL seed task. Couldn't find anyone else report this. Any idea what might be the cause? Not sure what it means by requirements or calculating them.
Plan DSL: task failed: Error while calculating requirements for task.