我想在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
答案 0 :(得分:2)
我将存储库类型更改为Subversion(它是FishEye)并且它有效。