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

Failed jobs reported by email as success

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • doxygen-plugin
    • None
    • Win XP
      Hudson 1.344

    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

          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

          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

          Available in Doxygen Hudson plugin 0.6

          gbois Gregory Boissinot added a comment - Available in Doxygen Hudson plugin 0.6
          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!

          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!
          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

          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

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

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

          People

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

            Dates

              Created:
              Updated:
              Resolved: