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

Doxygen is spawned even if a build failed


    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: doxygen-plugin
    • Labels:
    • Environment:
      Platform: All, OS: All
    • Similar Issues:


      The doxygen plugin is executed even if a build failed, see log below. In my
      opinion this should not happen (or at least, it should be an option on the
      config page whether to spawn the doxygen plugin after a failed build). In this
      particular case, Hudson is launching a nightly build by calling an ant script
      that compiles the code and runs the doxygen documentation generation. However,
      if the build fails, the documentation is not generated and thus, the plugin will
      fail to copy the docs (as you can see in the following log):


      C:_CI\jobs\Test\workspace\build.xml:140: exec returned: 1

      Total time: 16 minutes 22 seconds
      [locks-and-latches] Releasing all the locks
      [locks-and-latches] All the locks released
      [WARNINGS] Parsing warnings in log file...
      [WARNINGS] Found 185 annotations (31 new, 0 high, 185 normal, 0 low)
      [WARNINGS] Not changing build status, since no threshold has been exceeded
      Publishing Doxygen HTML results.
      The determined Doxygen directory is 'C:_CI\jobs\Test\workspace_doc/html'.
      Failure to copy the generated doxygen html documentation at '_doc/html' to
      Email was triggered for: Failure
      There are 1 triggered emails.
      Sending email for trigger: Failure
      Finished: FAILURE



          ruppsn ruppsn created issue -
          gbois Gregory Boissinot made changes -
          Field Original Value New Value
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          abayer Andrew Bayer made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 133656 ] JNJira + In-Review [ 202322 ]


            • Assignee:
              gbois Gregory Boissinot
              ruppsn ruppsn
            • Votes:
              0 Vote for this issue
              0 Start watching this issue


              • Created: