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

Jacoco plugin takes an hour to generate report if the source field is left empty

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • jacoco-plugin
    • None
    • Jenkins 2.0

      When using Jacoco plugin and specify the .exec file and classes files, but leave the source field empty, the Jacoco plugin stuck at uploading classes files for an hour before it finishes. I don't want to include source in the report, so I just left it empty. It should not make this to take a lot longer. Now I have to fill in something that points to nowhere, so it can finish quickly.

          [JENKINS-34672] Jacoco plugin takes an hour to generate report if the source field is left empty

          Code changed in jenkins
          User: Ben Patterson
          Path:
          src/main/java/org/jenkinsci/plugins/ghprb/GhprbAdditionalParameterEnvironmentContributor.java
          src/main/java/org/jenkinsci/plugins/ghprb/GhprbParametersAction.java
          src/main/java/org/jenkinsci/plugins/ghprb/GhprbTrigger.java
          src/test/java/org/jenkinsci/plugins/ghprb/GhprbIT.java
          http://jenkins-ci.org/commit/ghprb-plugin/009d8ec59b74f814a6687651e3556a4c2d037627
          Log:
          Fix empty parameters

          This is related to:
          JENKINS-34672 and described in issue 352 for this repo on GitHub.

          Parameters were not being properly inserted into the build environment,
          resulting in failures for downstream jobs, as well as a blank set
          of Parameters available in the GUI.

          Refactored SECURITY-170 to insert the variables into the build
          environment such that they are available in the environment
          and available for pushing downstream.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ben Patterson Path: src/main/java/org/jenkinsci/plugins/ghprb/GhprbAdditionalParameterEnvironmentContributor.java src/main/java/org/jenkinsci/plugins/ghprb/GhprbParametersAction.java src/main/java/org/jenkinsci/plugins/ghprb/GhprbTrigger.java src/test/java/org/jenkinsci/plugins/ghprb/GhprbIT.java http://jenkins-ci.org/commit/ghprb-plugin/009d8ec59b74f814a6687651e3556a4c2d037627 Log: Fix empty parameters This is related to: JENKINS-34672 and described in issue 352 for this repo on GitHub. Parameters were not being properly inserted into the build environment, resulting in failures for downstream jobs, as well as a blank set of Parameters available in the GUI. Refactored SECURITY-170 to insert the variables into the build environment such that they are available in the environment and available for pushing downstream.

            ognjenb Ognjen Bubalo
            k76154 JY Hsu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: