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

plugin creates a "maven" action for each invocation of withMaven in a pipeline

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      if you have a build with mvn calls inside multiple withMaven steps then you get one action per each maven integration.

      the URLs are all the same ${joburl}/maven and it seems to do the right thing in that it merges all the information about the generated artifacts, however the UI is polluted in the task bar on the left hand side of the build page.

        Attachments

          Issue Links

            Activity

            Hide
            cleclerc Cyrille Le Clerc added a comment - - edited
            Show
            cleclerc Cyrille Le Clerc added a comment - - edited This problem is supposed to be fixed since 3.3.2. https://github.com/jenkinsci/pipeline-maven-plugin/commit/109f09034b42d716a797367196841f962577e00a JENKINS-49549
            Hide
            teilo James Nord added a comment - - edited

            Cyrille Le Clerc So I think this was due to an upgrade where multiple things where running in parallel.
            The code itself referenced above is not synchronized and if N things try to add actions in one go then there is a possibility that M of them do not see any actions.

            I think you just need to simplify the code and use addOrReplaceAction and let jJenkins take care of the synchronization for you.

            Show
            teilo James Nord added a comment - - edited Cyrille Le Clerc So I think this was due to an upgrade where multiple things where running in parallel. The code itself referenced above is not synchronized and if N things try to add actions in one go then there is a possibility that M of them do not see any actions. I think you just need to simplify the code and use addOrReplaceAction and let jJenkins take care of the synchronization for you.
            Hide
            cleclerc Cyrille Le Clerc added a comment -

            Fixed in 3.5.8

            Show
            cleclerc Cyrille Le Clerc added a comment - Fixed in 3.5.8

              People

              Assignee:
              cleclerc Cyrille Le Clerc
              Reporter:
              teilo James Nord
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: