Gitchangelog插件错误“bjurr.gitchangelog.api.exceptions.GitChangelogIntegrationException”

时间:2017-08-11 06:40:15

标签: java gitlab mediawiki changelog

将内容从jenkin Git changelog插件发布到mediawiki

时出错
bjurr.gitchangelog.api.exceptions.GitChangelogIntegrationException

完整错误:

  

atse.bjurr.gitchangelog.internal.integrations.mediawiki.MediaWikiClient.createMediaWikiPage(MediaWikiClient.java:95)   在   se.bjurr.gitchangelog.api.GitChangelogApi.toMediaWiki(GitChangelogApi.java:134)   在   org.jenkinsci.plugins.gitchangelog.perform.RemoteCallable.call(RemoteCallable.java:167)   在   org.jenkinsci.plugins.gitchangelog.perform.RemoteCallable.call(RemoteCallable.java:29)   在hudson.FilePath.act(FilePath.java:1085)at   org.jenkinsci.plugins.gitchangelog.perform.GitChangelogPerformer.performerPerform(GitChangelogPerformer.java:40)   在   org.jenkinsci.plugins.gitchangelog.GitChangelogRecorder.perform(GitChangelogRecorder.java:52)   在   hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:81)   在hudson.tasks.BuildStepMonitor $ 1.perform(BuildStepMonitor.java:20)   在   hudson.model.AbstractBuild $ AbstractBuildExecution.perform(AbstractBuild.java:730)   在   hudson.model.AbstractBuild $ AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:676)   在hudson.model.Build $ BuildExecution.post2(Build.java:186)at at   hudson.model.AbstractBuild $ AbstractBuildExecution.post(AbstractBuild.java:621)   在hudson.model.Run.execute(Run.java:1760)at   hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)at at   hudson.model.ResourceController.execute(ResourceController.java:97)at   hudson.model.Executor.run(Executor.java:415)引起:   com.jayway.jsonpath.PathNotFoundException:路径中缺少属性   $ ['login'] at   com.jayway.jsonpath.internal.path.PathToken.handleObjectProperty(PathToken.java:72)   在   com.jayway.jsonpath.internal.path.PropertyPathToken.evaluate(PropertyPathToken.java:77)   在   com.jayway.jsonpath.internal.path.RootPathToken.evaluate(RootPathToken.java:62)   在   com.jayway.jsonpath.internal.path.CompiledPath.evaluate(CompiledPath.java:53)   在   com.jayway.jsonpath.internal.path.CompiledPath.evaluate(CompiledPath.java:61)   在com.jayway.jsonpath.JsonPath.read(JsonPath.java:187)at   com.jayway.jsonpath.internal.JsonContext.read(JsonContext.java:164)at at   com.jayway.jsonpath.internal.JsonContext.read(JsonContext.java:151)at at   com.jayway.jsonpath.JsonPath.read(JsonPath.java:502)at   se.bjurr.gitchangelog.internal.integrations.mediawiki.MediaWikiClient.getWikiToken(MediaWikiClient.java:192)   在   se.bjurr.gitchangelog.internal.integrations.mediawiki.MediaWikiClient.doAuthenticate(MediaWikiClient.java:177)   在   se.bjurr.gitchangelog.internal.integrations.mediawiki.MediaWikiClient.createMediaWikiPage(MediaWikiClient.java:86)

1 个答案:

答案 0 :(得分:0)

此处存在问题:https://github.com/tomasbjerre/git-changelog-lib/issues/51 并且还在这里问:Cannot authenticate with MediaWiki 1.28 API

我不确定此功能是否有效。据我所知,我确实正确地遵循API,但在去年我无法真正创建页面。