Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-48059

Unable to publish release notes on confluence

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Component/s: release-helper-plugin
    • Labels:
    • Environment:
    • Similar Issues:

      Description

       

      Currently I am facing below exception. Got this from console log.

       

      Building in workspace /var/lib/jenkins/workspace/TestConfluence
      FATAL: org.apache.http.impl.client.cache.CacheConfig.setNeverCache1_0ResponsesWithQueryString(Z)V
      java.lang.NoSuchMethodError: org.apache.http.impl.client.cache.CacheConfig.setNeverCache1_0ResponsesWithQueryString(Z)V
      at com.atlassian.httpclient.apache.httpcomponents.DefaultHttpClient.<init>(DefaultHttpClient.java:155)
      at com.atlassian.jira.rest.client.internal.async.AsynchronousHttpClientFactory.createClient(AsynchronousHttpClientFactory.java:53)
      at com.atlassian.jira.rest.client.internal.async.AsynchronousJiraRestClientFactory.create(AsynchronousJiraRestClientFactory.java:35)
      at com.atlassian.jira.rest.client.internal.async.AsynchronousJiraRestClientFactory.createWithBasicHttpAuthentication(AsynchronousJiraRestClientFactory.java:42)
      at rocks.inspectit.releaseplugin.JIRAAccessTool.connect(JIRAAccessTool.java:185)
      at rocks.inspectit.releaseplugin.JIRAAccessTool.<init>(JIRAAccessTool.java:116)
      at rocks.inspectit.releaseplugin.releasenotes.ConfluenceReleaseNotesPublisher.perform(ConfluenceReleaseNotesPublisher.java:99)
      at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:736)
      at hudson.model.Build$BuildExecution.build(Build.java:206)
      at hudson.model.Build$BuildExecution.doRun(Build.java:163)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:496)
      at hudson.model.Run.execute(Run.java:1737)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:97)
      at hudson.model.Executor.run(Executor.java:421)
      Finished: FAILURE
      

       

        Attachments

          Activity

          Hide
          swapniljv Swapnil Verma added a comment -

          Got it fixed by referring below pull request:

          https://github.com/jenkinsci/release-helper-plugin/pull/3

          Show
          swapniljv Swapnil Verma added a comment - Got it fixed by referring below pull request: https://github.com/jenkinsci/release-helper-plugin/pull/3
          Hide
          jellehelsen Jelle Helsen added a comment -

          Since this pull request is not yet merged and released, how would I apply this fix to my Jenkins installation?

          Show
          jellehelsen Jelle Helsen added a comment - Since this pull request is not yet merged and released, how would I apply this fix to my Jenkins installation?
          Hide
          swapniljv Swapnil Verma added a comment -

          You have to build it locally and upload .hpi file to jenkins server in Plugin manager under advanced tab.

          Show
          swapniljv Swapnil Verma added a comment - You have to build it locally and upload .hpi file to jenkins server in Plugin manager under advanced tab.

            People

            • Assignee:
              novatec NovaTec Consulting
              Reporter:
              swapniljv Swapnil Verma
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: