2

在 Bamboo 中构建后,我正在尝试在 svn 中创建一个标签。我正在使用 VCS 标记任务。我在正确的位置创建了目录,但出现以下错误。

当我添加源存储库时,我不必设置任何用户/密码,我只选择了“FishEye Subversion”。因为我们使用由 attlassian 托管的 JIRA 和 SVN 和 Bamboo,所以它似乎“全部连接”,所以我不需要这样做。但现在似乎 Bamboo 用户(或 Bambo 用于获取代码更改的任何用户)没有提交更改的权限。

我怎样才能解决这个问题?bambo 如何通过 SVN 服务器进行身份验证,我该如何更改它以便提交和创建标签?

error   03-Jun-2013 16:03:36    Error occurred while running Task 'Tagged by Bamboo'. This build will fail. Caused by: 
error   03-Jun-2013 16:03:36    com.atlassian.bamboo.task.TaskException: Exception when tagging repository
error   03-Jun-2013 16:03:36        at com.atlassian.bamboo.plugins.vcs.task.VcsTaggingTask.execute(VcsTaggingTask.java:57)
error   03-Jun-2013 16:03:36        at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:188)
error   03-Jun-2013 16:03:36        at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:94)
error   03-Jun-2013 16:03:36        at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:87)
error   03-Jun-2013 16:03:36        at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:206)
error   03-Jun-2013 16:03:36        at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:103)
error   03-Jun-2013 16:03:36        at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:111)
error   03-Jun-2013 16:03:36        at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:52)
error   03-Jun-2013 16:03:36        at java.lang.Thread.run(Thread.java:662)
error   03-Jun-2013 16:03:36    Caused by: com.atlassian.bamboo.repository.RepositoryException: Error while creating tag
error   03-Jun-2013 16:03:36        at com.atlassian.bamboo.repository.svn.SvnRepository.createTag(SvnRepository.java:1918)
error   03-Jun-2013 16:03:36        at com.atlassian.bamboo.plugins.vcs.task.VcsTaggingTask.execute(VcsTaggingTask.java:52)
error   03-Jun-2013 16:03:36        ... 8 more
error   03-Jun-2013 16:03:36    Caused by: org.tmatesoft.svn.core.SVNAuthenticationException: svn: E170001: Commit failed (details follow):
error   03-Jun-2013 16:03:36    svn: E170001: MKACTIVITY of '/svn/!svn/act/119a900a-3f01-0010-8d97-3313e23e6ce8': 403 Forbidden (https://xxxxx)
error   03-Jun-2013 16:03:36        at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:62)
error   03-Jun-2013 16:03:36        at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51)
error   03-Jun-2013 16:03:36        at org.tmatesoft.svn.core.internal.wc.SVNCopyDriver.copyReposToRepos(SVNCopyDriver.java:378)
error   03-Jun-2013 16:03:36        at org.tmatesoft.svn.core.internal.wc.SVNCopyDriver.setupCopy(SVNCopyDriver.java:627)
error   03-Jun-2013 16:03:36        at org.tmatesoft.svn.core.internal.wc16.SVNCopyClient16.doCopy(SVNCopyClient16.java:440)
error   03-Jun-2013 16:03:36        at org.tmatesoft.svn.core.internal.wc2.remote.SvnNgReposToReposCopy.run(SvnNgReposToReposCopy.java:65)
error   03-Jun-2013 16:03:36        at org.tmatesoft.svn.core.internal.wc2.remote.SvnNgReposToReposCopy.run(SvnNgReposToReposCopy.java:23)
error   03-Jun-2013 16:03:36        at org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner.run(SvnOperationRunner.java:20)
error   03-Jun-2013 16:03:36        at org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:1235)
error   03-Jun-2013 16:03:36        at org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:291)
error   03-Jun-2013 16:03:36        at org.tmatesoft.svn.core.wc2.SvnRemoteCopy.run(SvnRemoteCopy.java:227)
error   03-Jun-2013 16:03:36        at org.tmatesoft.svn.core.wc.SVNCopyClient.doCopy(SVNCopyClient.java:480)
error   03-Jun-2013 16:03:36        at com.atlassian.bamboo.repository.svn.SvnRepository.copyRepository(SvnRepository.java:1876)
error   03-Jun-2013 16:03:36        at com.atlassian.bamboo.repository.svn.SvnRepository.createTag(SvnRepository.java:1914)
error   03-Jun-2013 16:03:36        ... 9 mor
4

1 回答 1

2

我将存储库类型更改为 Subversion(它是 FishEye)并且它有效。

于 2013-06-12T09:30:46.117 回答