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

Concurrent builds are serialized when publishing

        [JENKINS-43658] Concurrent builds are serialized when publishing

        Jakub Bochenski created issue -
        Jakub Bochenski made changes -
        Link New: This issue relates to JENKINS-19820 [ JENKINS-19820 ]
        Jakub Bochenski made changes -
        Link New: This issue relates to JENKINS-33238 [ JENKINS-33238 ]
        Jakub Bochenski made changes -
        Link New: This issue relates to JENKINS-21246 [ JENKINS-21246 ]
        Jakub Bochenski made changes -
        Link New: This issue relates to JENKINS-9913 [ JENKINS-9913 ]
        Jakub Bochenski made changes -
        Description New: This has been introduced in [https://github.com/jenkinsci/sloccount-plugin/commit/ea7c9603954017d3d55c8292bdde627ade777667] I think

        Similarily to other cases the solution could be to change {{BuildStepMonitor.BUILD}} to {{BuildStepMonitor.NONE}}

        It seems there is a method to actually handle parallel builds in here: [https://github.com/jenkinsci/sloccount-plugin/blob/29c846b00a3fa63e321d8047ace32b6eed69bc46/src/main/java/hudson/plugins/sloccount/SloccountProjectAction.java#L78]

        I don't think portlet code here would be affected at all: https://github.com/jenkinsci/sloccount-plugin/blob/29c846b00a3fa63e321d8047ace32b6eed69bc46/src/main/java/hudson/plugins/sloccount/dashboard/SloccountTablePortlet.java#L43
        Jakub Bochenski made changes -
        Description Original: This has been introduced in [https://github.com/jenkinsci/sloccount-plugin/commit/ea7c9603954017d3d55c8292bdde627ade777667] I think

        Similarily to other cases the solution could be to change {{BuildStepMonitor.BUILD}} to {{BuildStepMonitor.NONE}}

        It seems there is a method to actually handle parallel builds in here: [https://github.com/jenkinsci/sloccount-plugin/blob/29c846b00a3fa63e321d8047ace32b6eed69bc46/src/main/java/hudson/plugins/sloccount/SloccountProjectAction.java#L78]

        I don't think portlet code here would be affected at all: https://github.com/jenkinsci/sloccount-plugin/blob/29c846b00a3fa63e321d8047ace32b6eed69bc46/src/main/java/hudson/plugins/sloccount/dashboard/SloccountTablePortlet.java#L43
        New: This has been introduced in [https://github.com/jenkinsci/sloccount-plugin/commit/ea7c9603954017d3d55c8292bdde627ade777667]

        Similarly to other cases the solution could be to change {{BuildStepMonitor.BUILD}} to {{BuildStepMonitor.NONE}}

        It seems there is a method to actually handle parallel builds in here: [https://github.com/jenkinsci/sloccount-plugin/blob/29c846b00a3fa63e321d8047ace32b6eed69bc46/src/main/java/hudson/plugins/sloccount/SloccountProjectAction.java#L78]

        I don't think portlet code here would be affected at all: [https://github.com/jenkinsci/sloccount-plugin/blob/29c846b00a3fa63e321d8047ace32b6eed69bc46/src/main/java/hudson/plugins/sloccount/dashboard/SloccountTablePortlet.java#L43]

        Jakub Bochenski added a comment - npiguet jieryn ssogabe mixalturek bump?
        Ivaïlo Marinkov made changes -
        Assignee Original: npiguet [ npiguet ] New: Ivaïlo Marinkov [ imarinkov ]

        Hi jbochenski,

        Can you provide a scenario I can use to reproduce the bug?

        Currently, I've set up a job that publishes a report and am running builds simultaneously, but can't reproduce it. The issue is that if multiple builds are all in the publish SLOCC report step at the same time, they will all need to finish before any of the runs can end, right?

        Ivaïlo Marinkov added a comment - Hi jbochenski , Can you provide a scenario I can use to reproduce the bug? Currently, I've set up a job that publishes a report and am running builds simultaneously, but can't reproduce it. The issue is that if multiple builds are all in the publish SLOCC report step at the same time, they will all need to finish before any of the runs can end, right?

          imarinkov Ivaïlo Marinkov
          jbochenski Jakub Bochenski
          Votes:
          0 Vote for this issue
          Watchers:
          3 Start watching this issue

            Created:
            Updated:
            Resolved: