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.

       

       

          [JENKINS-43261] withMaven parses emtpy EventSpy logfiles

          Jannis Oeltjen created issue -
          Jannis Oeltjen made changes -
          Attachment New: screenshot.png [ 36839 ]
          Jannis Oeltjen made changes -
          Description Original: 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.

           

           
          New: 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.

           

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

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

              Created:
              Updated:
              Resolved: