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

Failed jobs reported by email as success

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: doxygen-plugin
    • Labels:
      None
    • Environment:
      Win XP
      Hudson 1.344
    • Similar Issues:

      Description

      This job sends the email titled
      Hudson build is back to normal : CCode #438

      when in fact it fails.

      The email appears to be send before the job is complete

      The console output shows .....

      TASKS] Scanning workspace files for tasks...
      [TASKS] Found 320 annotations (0 new, 24 high, 296 normal, 0 low)
      [TASKS] Not changing build status, since no threshold has been exceeded
      [WARNINGS] Parsing warnings in console log...
      [WARNINGS] Found 48 annotations (0 new, 0 high, 48 normal, 0 low)
      [WARNINGS] Not changing build status, since no threshold has been exceeded
      Recording test results
      [DocLinks] Copying FileLocks in c/h files to 1 ...
      [DocLinks] Copying Properties not set in these c/h files to 2 ...
      Sending e-mails to: xxxxxx xxxxxx xxxxx
      Publishing Doxygen HTML results.
      FATAL: error
      hudson.AbortException: The directory 'C:\neilt\projects\hudson\jobs\CCode\workspace\html' doesn't exist.
      at hudson.plugins.doxygen.DoxygenDirectoryParser.retrieveDoxygenDirectoryFromDoxyfile(DoxygenDirectoryParser.java:292)
      at hudson.plugins.doxygen.DoxygenDirectoryParser.invoke(DoxygenDirectoryParser.java:56)
      at hudson.plugins.doxygen.DoxygenDirectoryParser.invoke(DoxygenDirectoryParser.java:24)
      at hudson.FilePath.act(FilePath.java:694)
      at hudson.FilePath.act(FilePath.java:676)
      at hudson.plugins.doxygen.DoxygenArchiver.perform(DoxygenArchiver.java:159)
      at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27)
      at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:582)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:563)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:550)
      at hudson.model.Build$RunnerImpl.cleanUp(Build.java:158)
      at hudson.model.Run.run(Run.java:1240)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:122)
      Finished: FAILURE

        Attachments

          Activity

          Hide
          kohsuke Kohsuke Kawaguchi added a comment -

          DoxygenArchiver should extends Recorder, not Notifier so that it executes at the right moment.

          Show
          kohsuke Kohsuke Kawaguchi added a comment - DoxygenArchiver should extends Recorder, not Notifier so that it executes at the right moment.
          Hide
          nellyt nellyt added a comment -

          I'm puzzled why noone else seems to have commented/logged this problem as it is becoming a real inconvenience now.

          It is now at the point where nearly everyone on the project is being emailed every time any job runs and I have a screen of red balls on all jobs containing doxygen which have been flagged as failed

          Show
          nellyt nellyt added a comment - I'm puzzled why noone else seems to have commented/logged this problem as it is becoming a real inconvenience now. It is now at the point where nearly everyone on the project is being emailed every time any job runs and I have a screen of red balls on all jobs containing doxygen which have been flagged as failed
          Hide
          mindless Alan Harder added a comment -

          oops, I set it to Notifier in r23079. I think I did this because the class already had "needsToRunAfterFinalized" that returns true.

          gbois, assigning issue to you so you can take a look and fix this up. If this should run earlier as suggested, I think change the class to extend Recorder and remove the needsToRunAfterFinalized method. thanks!

          Show
          mindless Alan Harder added a comment - oops, I set it to Notifier in r23079. I think I did this because the class already had "needsToRunAfterFinalized" that returns true. gbois, assigning issue to you so you can take a look and fix this up. If this should run earlier as suggested, I think change the class to extend Recorder and remove the needsToRunAfterFinalized method. thanks!
          Hide
          gbois Gregory Boissinot added a comment -

          Available in Doxygen Hudson plugin 0.6

          Show
          gbois Gregory Boissinot added a comment - Available in Doxygen Hudson plugin 0.6
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in hudson
          User: : gbois
          Path:
          trunk/hudson/plugins/doxygen/src/main/java/hudson/plugins/doxygen/DoxygenArchiver.java
          http://jenkins-ci.org/commit/29430
          Log:
          Fixed JENKINS-5601

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : gbois Path: trunk/hudson/plugins/doxygen/src/main/java/hudson/plugins/doxygen/DoxygenArchiver.java http://jenkins-ci.org/commit/29430 Log: Fixed JENKINS-5601

            People

            • Assignee:
              gbois Gregory Boissinot
              Reporter:
              nellyt nellyt
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: