首页 > 解决方案 > 在我的 Maven 包上运行 jgitflow start 时出现异常(org.eclipse.jgit.api.errors.TransportException)

问题描述

这是完整的错误:

[ERROR] Failed to execute goal external.atlassian.jgitflow:jgitflow-maven-plugin:1.0-m5.1:release-start (default-cli) on project myproject-acls: Error starting release: Error starting release: org.eclipse.jgit.api.errors.TransportException: git@bitbucket.org:myprojectwebtransformation/myproject-acls.git: Auth fail -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal external.atlassian.jgitflow:jgitflow-maven-plugin:1.0-m5.1:release-start (default-cli) on project myproject-acls: Error starting release: Error starting release: org.eclipse.jgit.api.errors.TransportException: git@bitbucket.org:myprojectwebtransformation/myproject-acls.git: Auth fail

我正在使用无密码 SSH 密钥在我的计算机和 Bitbucket 之间进行身份验证。

关于如何解决的任何想法?

谢谢!

编辑1:不确定是否重要,但我在使用macos。在创建我的 ssh 密钥时,我尝试了 rsa、ssh-rsa 和 rsa-sha2-512。

标签: bitbucketjgitflow-maven-plugin

解决方案


推荐阅读