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

Not failing on error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Critical Critical
    • msbuild-plugin
    • None
    • Jenkins 2.46.2
      MSbuild Plugin 1.27
      MSBuild version 14.0

      I have a MSBuild project that batch processes a list of projects and I have the task set there to ContinueOnError as I need all the projects to be compiled.

      In Jenkins I DO NOT have the Plugin configured to Continue Job on build Failure.

      During build an error occurs but the failure is not Failing the build when MSBuild is done and returns to Jenkins the Plugin is not failing out.

      MSBuild is reporting 12 Errors on exit but the plugin just lets the job continue, job status at that time is also not Failure. 

      These particular errors are somewhat unusual as they are from Postsharp and have a line that beings like this:
      20>unknown : error : error: Unhandled exception
      Not sure if that is the issue or not. 

       

       

            marshall777 Lionel Cabasson
            jstarbird Jon Starbird
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: