詹金斯集会插件无法正常工作

时间:2016-03-01 08:34:40

标签: jenkins rally

我正在使用jenkins的拉力插件,并在运行构建时遇到错误

rally update plug-in error: could not update changeset entry: null
com.jenkins.plugins.rally.RallyAssetNotFoundException
    at com.jenkins.plugins.rally.utils.RallyQueryBuilder.andExecuteReturningRef(RallyQueryBuilder.java:65)
    at com.jenkins.plugins.rally.connector.RallyConnector.createRepository(RallyConnector.java:187)
    at com.jenkins.plugins.rally.service.RallyService.updateChangeset(RallyService.java:46)
    at com.jenkins.plugins.rally.RallyPlugin.perform(RallyPlugin.java:109)
    at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
    at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782)
    at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:723)
    at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:1037)
    at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:668)
    at hudson.model.Run.execute(Run.java:1763)
    at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:529)
    at hudson.model.ResourceController.execute(ResourceController.java:98)
    at hudson.model.Executor.run(Executor.java:410)
    rally update plug-in error: could not update TaskDetails entry: null
com.jenkins.plugins.rally.RallyAssetNotFoundException
    at com.jenkins.plugins.rally.utils.RallyQueryBuilder.andExecuteReturningObject(RallyQueryBuilder.java:84)
    at com.jenkins.plugins.rally.connector.RallyConnector.queryForTaskById(RallyConnector.java:107)
    at com.jenkins.plugins.rally.service.RallyService.getTaskObjectByStoryRef(RallyService.java:140)
    at com.jenkins.plugins.rally.service.RallyService.updateRallyTaskDetails(RallyService.java:108)
    at com.jenkins.plugins.rally.RallyPlugin.perform(RallyPlugin.java:117)
    at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
    at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782)
    at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:723)
    at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:1037)
    at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:668)
    at hudson.model.Run.execute(Run.java:1763)
    at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:529)
    at hudson.model.ResourceController.execute(ResourceController.java:98)
    at hudson.model.Executor.run(Executor.java:410)
    rally update plug-in error: could not update changeset entry: null
com.jenkins.plugins.rally.RallyAssetNotFoundException
    at com.jenkins.plugins.rally.utils.RallyQueryBuilder.andExecuteReturningRef(RallyQueryBuilder.java:65)
    at com.jenkins.plugins.rally.connector.RallyConnector.createRepository(RallyConnector.java:187)
    at com.jenkins.plugins.rally.service.RallyService.updateChangeset(RallyService.java:46)
    at com.jenkins.plugins.rally.RallyPlugin.perform(RallyPlugin.java:109)
    at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
    at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782)
    at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:723)
    at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:1037)
    at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:668)
    at hudson.model.Run.execute(Run.java:1763)
    at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:529)
    at hudson.model.ResourceController.execute(ResourceController.java:98)
    at hudson.model.Executor.run(Executor.java:410)
    rally update plug-in error: could not update TaskDetails entry: null
com.jenkins.plugins.rally.RallyAssetNotFoundException
    at com.jenkins.plugins.rally.utils.RallyQueryBuilder.andExecuteReturningObject(RallyQueryBuilder.java:84)
    at com.jenkins.plugins.rally.connector.RallyConnector.queryForTaskById(RallyConnector.java:107)
    at com.jenkins.plugins.rally.service.RallyService.getTaskObjectByStoryRef(RallyService.java:140)
    at com.jenkins.plugins.rally.service.RallyService.updateRallyTaskDetails(RallyService.java:108)
    at com.jenkins.plugins.rally.RallyPlugin.perform(RallyPlugin.java:117)
    at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
    at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782)
    at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:723)
    at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:1037)
    at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:668)
    at hudson.model.Run.execute(Run.java:1763)
    at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:529)
    at hudson.model.ResourceController.execute(ResourceController.java:98)
    at hudson.model.Executor.run(Executor.java:410)
Build step 'Update Rally Task and ChangeSet' marked build as failure
Finished: FAILURE

我的提交信息是:

US109 for task TA52 with status: in progress

我没有弄到我在做什么。如果需要任何其他信息,请告诉我。

1 个答案:

答案 0 :(得分:0)

我是该插件的维护者。

当您用于访问CA(néeRally)的凭据无权在您引用的工作项(US109)上创建Changeset对象时,会发生这种情况。快速修复是为了确保您的工作项属于您的凭据用户可以访问的项目,或者让管理员授予您的凭据用户访问更多项目的权限。

我正在努力将异常变成无声失败(即日志会显示Changeset未创建,但构建不会因此失败。)

如果您还有其他问题,请随时就the plugin's website提交报告。抱歉,这是一条糟糕的错误消息!