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

withMaven parses emtpy EventSpy logfiles

    Details

    • Similar Issues:

      Description

      The maven pipeline plugin in version 2.0 tries to parse an empty event spy logfile and logs error messages because of that (that is fine).

      Calling withMaven() should not even try to parse any log files from the event spy if the event spy has been disabled via one of the two options available for that.

      In my case I disabled the event spy via setting the environment variable JENKINS_MAVEN_AGENT_DISABLED to "true". In this case no valid log file is created and the MavenSpyLogProcessor can't process it so it should not even try it.

       

       

        Attachments

          Issue Links

            Activity

            jcoeltjen Jannis Oeltjen created issue -
            jcoeltjen Jannis Oeltjen made changes -
            Field Original Value New Value
            Attachment screenshot.png [ 36839 ]
            jcoeltjen Jannis Oeltjen made changes -
            Description The maven pipeline plugin in version 2.0 tries to parse an empty event spy logfile and logs error messages because of that (that is fine).

            Calling withMaven() should not even try to parse any log files from the event spy if the event spy has been disabled via one of the two options available for that.

            In my case I disabled the event spy via setting the environment variable JENKINS_MAVEN_AGENT_DISABLED to "true". In this case no valid log file is created and the MavenSpyLogProcessor can't process it.

             

             
            The maven pipeline plugin in version 2.0 tries to parse an empty event spy logfile and logs error messages because of that (that is fine).

            Calling withMaven() should not even try to parse any log files from the event spy if the event spy has been disabled via one of the two options available for that.

            In my case I disabled the event spy via setting the environment variable JENKINS_MAVEN_AGENT_DISABLED to "true". In this case no valid log file is created and the MavenSpyLogProcessor can't process it so it should not even try it.

             

             
            cleclerc Cyrille Le Clerc made changes -
            Assignee Alvaro Lobato [ alobato ] Cyrille Le Clerc [ cleclerc ]
            cleclerc Cyrille Le Clerc made changes -
            Link This issue is related to JENKINS-43529 [ JENKINS-43529 ]
            cleclerc Cyrille Le Clerc made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            cleclerc Cyrille Le Clerc made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            cleclerc Cyrille Le Clerc made changes -
            Status In Review [ 10005 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]

              People

              • Assignee:
                cleclerc Cyrille Le Clerc
                Reporter:
                jcoeltjen Jannis Oeltjen
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: