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

improve the link between email report and plug-in warning : add total number of warning/error for instance add a image like those displayed in the job

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Won't Do
    • Component/s: warnings-plugin
    • Labels:
      None
    • Environment:
      4.35 => plugin warning
      1.504 => jenkins
    • Similar Issues:

      Description

      It could be great if a quick resume of the parsing of warning plug-in could be inserted in the email sent at the end of the job.

      Have for instance the severity of the different warning (high, normal, low, etc.) 

      Currently we have this at the end of the mail sent by jenkins (after the console text of the job execution). this is quite not readable. is it possible to have a better resume ? Maybe it is a problem with our mail SW (outlook 2013)

       

      [WARNINGS] Parsing warnings in files 'LAST_BUILD/log/.rpt' with parser FPGA_Cockpit [WARNINGS] Finding all files that match the pattern LAST_BUILD/log/.rpt [WARNINGS] Parsing 10 files in <http://jenkins.XXXXX:8080/job/FPGA_vv_gr/ws/>
      [WARNINGS] Successfully parsed file <http://jenkins.XXXXX:8080/job/FPGA_vv_gr/ws/LAST_BUILD\log\vv_atp_bridge_top_tbs_sc_divio_clock.rpt> of module with 71 warnings.
      [WARNINGS] Successfully parsed file <http://jenkins.XXXXX:8080/job/FPGA_vv_gr/ws/LAST_BUILD\log\vv_atp_bridge_top_tbs_sc_hvsd_inhibit_mngt.rpt> of module with 42 warnings.
      [WARNINGS] Successfully parsed file <http://jenkins.XXXXX:8080/job/FPGA_vv_gr/ws/LAST_BUILD\log\vv_atp_bridge_top_tbs_sc_mram_lock_mngt.rpt> of module with 107 warnings.
      [WARNINGS] Successfully parsed file <http://jenkins.XXXXX:8080/job/FPGA_vv_gr/ws/LAST_BUILD\log\vv_atp_bridge_top_tbs_sc_speed_acq_p1.rpt> of module with 98 warnings.
      [WARNINGS] Successfully parsed file <http://jenkins.XXXXX:8080/job/FPGA_vv_gr/ws/LAST_BUILD\log\vv_atp_bridge_top_tbs_sc_speed_acq_p2.rpt> of module with 142 warnings.
      [WARNINGS] Successfully parsed file <http://jenkins.XXXXX:8080/job/FPGA_vv_gr/ws/LAST_BUILD\log\vv_atp_bridge_top_tbs_sc_speed_acq_p3.rpt> of module with 141 warnings.
      [WARNINGS] Successfully parsed file <http://jenkins.XXXXX:8080/job/FPGA_vv_gr/ws/LAST_BUILD\log\vv_atp_bridge_top_tbs_sc_speed_acq_p4.rpt> of module with 186 warnings.
      [WARNINGS] Successfully parsed file <http://jenkins.XXXXX:8080/job/FPGA_vv_gr/ws/LAST_BUILD\log\vv_atp_bridge_top_tbs_sc_speed_acq_p5.rpt> of module with 192 warnings.
      [WARNINGS] Successfully parsed file <http://jenkins.XXXXX:8080/job/FPGA_vv_gr/ws/LAST_BUILD\log\vv_atp_bridge_top_tbs_sc_wdg_and_wd_clk_mngt_p1.rpt> of module with 148 warnings.
      [WARNINGS] Successfully parsed file <http://jenkins.XXXXX:8080/job/FPGA_vv_gr/ws/LAST_BUILD\log\vv_atp_bridge_top_tbs_sc_wdg_and_wd_clk_mngt_p2.rpt> of module with 59 warnings.
      [WARNINGS] Parsing warnings in files 'LAST_BUILD/log/.rpt' with parser FPGA_Questa [WARNINGS] Finding all files that match the pattern LAST_BUILD/log/.rpt [WARNINGS] Parsing 10 files in <http://jenkins.XXXXX:8080/job/FPGA_vv_gr/ws/>
      [WARNINGS] Successfully parsed file <http://jenkins.XXXXX:8080/job/FPGA_vv_gr/ws/LAST_BUILD\log\vv_atp_bridge_top_tbs_sc_divio_clock.rpt> of module with 2866 warnings.
      [WARNINGS] Successfully parsed file <http://jenkins.XXXXX:8080/job/FPGA_vv_gr/ws/LAST_BUILD\log\vv_atp_bridge_top_tbs_sc_hvsd_inhibit_mngt.rpt> of module with 57 warnings.
      [WARNINGS] Successfully parsed file <http://jenkins.XXXXX:8080/job/FPGA_vv_gr/ws/LAST_BUILD\log\vv_atp_bridge_top_tbs_sc_mram_lock_mngt.rpt> of module with 152 warnings.
      [WARNINGS] Successfully parsed file <http://jenkins.XXXXX:8080/job/FPGA_vv_gr/ws/LAST_BUILD\log\vv_atp_bridge_top_tbs_sc_speed_acq_p1.rpt> of module with 3200 warnings.
      [WARNINGS] Successfully parsed file <http://jenkins.XXXXX:8080/job/FPGA_vv_gr/ws/LAST_BUILD\log\vv_atp_bridge_top_tbs_sc_speed_acq_p2.rpt> of module with 273 warnings.
      [WARNINGS] Successfully parsed file <http://jenkins.XXXXX:8080/job/FPGA_vv_gr/ws/LAST_BUILD\log\vv_atp_bridge_top_tbs_sc_speed_acq_p3.rpt> of module with 183 warnings.
      [WARNINGS] Successfully parsed file <http://jenkins.XXXXX:8080/job/FPGA_vv_gr/ws/LAST_BUILD\log\vv_atp_bridge_top_tbs_sc_speed_acq_p4.rpt> of module with 333 warnings.
      [WARNINGS] Successfully parsed file <http://jenkins.XXXXX:8080/job/FPGA_vv_gr/ws/LAST_BUILD\log\vv_atp_bridge_top_tbs_sc_speed_acq_p5.rpt> of module with 513 warnings.
      [WARNINGS] Successfully parsed file <http://jenkins.XXXXX:8080/job/FPGA_vv_gr/ws/LAST_BUILD\log\vv_atp_bridge_top_tbs_sc_wdg_and_wd_clk_mngt_p1.rpt> of module with 104 warnings.
      [WARNINGS] Successfully parsed file <http://jenkins.XXXXX:8080/job/FPGA_vv_gr/ws/LAST_BUILD\log\vv_atp_bridge_top_tbs_sc_wdg_and_wd_clk_mngt_p2.rpt> of module with 84 warnings.
      [WARNINGS] Parsing warnings in files 'LAST_BUILD/log/.rpt' with parser FPGA_Questa_tb_qualification [WARNINGS] Finding all files that match the pattern LAST_BUILD/log/.rpt [WARNINGS] Parsing 10 files in <http://jenkins.XXXXX:8080/job/FPGA_vv_gr/ws/>
      [WARNINGS] Successfully parsed file <http://jenkins.XXXXX:8080/job/FPGA_vv_gr/ws/LAST_BUILD\log\vv_atp_bridge_top_tbs_sc_divio_clock.rpt> of module with 0 warnings.
      [WARNINGS] Successfully parsed file <http://jenkins.XXXXX:8080/job/FPGA_vv_gr/ws/LAST_BUILD\log\vv_atp_bridge_top_tbs_sc_hvsd_inhibit_mngt.rpt> of module with 1 warnings.
      [WARNINGS] Successfully parsed file <http://jenkins.XXXXX:8080/job/FPGA_vv_gr/ws/LAST_BUILD\log\vv_atp_bridge_top_tbs_sc_mram_lock_mngt.rpt> of module with 1 warnings.
      [WARNINGS] Successfully parsed file <http://jenkins.XXXXX:8080/job/FPGA_vv_gr/ws/LAST_BUILD\log\vv_atp_bridge_top_tbs_sc_speed_acq_p1.rpt> of module with 1 warnings.
      [WARNINGS] Successfully parsed file <http://jenkins.XXXXX:8080/job/FPGA_vv_gr/ws/LAST_BUILD\log\vv_atp_bridge_top_tbs_sc_speed_acq_p2.rpt> of module with 1 warnings.
      [WARNINGS] Successfully parsed file <http://jenkins.XXXXX:8080/job/FPGA_vv_gr/ws/LAST_BUILD\log\vv_atp_bridge_top_tbs_sc_speed_acq_p3.rpt> of module with 1 warnings.
      [WARNINGS] Successfully parsed file <http://jenkins.XXXXX:8080/job/FPGA_vv_gr/ws/LAST_BUILD\log\vv_atp_bridge_top_tbs_sc_speed_acq_p4.rpt> of module with 1 warnings.
      [WARNINGS] Successfully parsed file <http://jenkins.XXXXX:8080/job/FPGA_vv_gr/ws/LAST_BUILD\log\vv_atp_bridge_top_tbs_sc_speed_acq_p5.rpt> of module with 1 warnings.
      [WARNINGS] Successfully parsed file <http://jenkins.XXXXX:8080/job/FPGA_vv_gr/ws/LAST_BUILD\log\vv_atp_bridge_top_tbs_sc_wdg_and_wd_clk_mngt_p1.rpt> of module with 1 warnings.
      [WARNINGS] Successfully parsed file <http://jenkins.XXXXX:8080/job/FPGA_vv_gr/ws/LAST_BUILD\log\vv_atp_bridge_top_tbs_sc_wdg_and_wd_clk_mngt_p2.rpt> of module with 1 warnings.
      [WARNINGS] Parsing warnings in files 'LAST_BUILD/log/.rpt' with parser FPGA_Questa_tb_duration [WARNINGS] Finding all files that match the pattern LAST_BUILD/log/.rpt [WARNINGS] Parsing 10 files in <http://jenkins.XXXXX:8080/job/FPGA_vv_gr/ws/>
      [WARNINGS] Successfully parsed file <http://jenkins.XXXXX:8080/job/FPGA_vv_gr/ws/LAST_BUILD\log\vv_atp_bridge_top_tbs_sc_divio_clock.rpt> of module with 1 warnings.
      [WARNINGS] Successfully parsed file <http://jenkins.XXXXX:8080/job/FPGA_vv_gr/ws/LAST_BUILD\log\vv_atp_bridge_top_tbs_sc_hvsd_inhibit_mngt.rpt> of module with 1 warnings.
      [WARNINGS] Successfully parsed file <http://jenkins.XXXXX:8080/job/FPGA_vv_gr/ws/LAST_BUILD\log\vv_atp_bridge_top_tbs_sc_mram_lock_mngt.rpt> of module with 1 warnings.
      [WARNINGS] Successfully parsed file <http://jenkins.XXXXX:8080/job/FPGA_vv_gr/ws/LAST_BUILD\log\vv_atp_bridge_top_tbs_sc_speed_acq_p1.rpt> of module with 1 warnings.
      [WARNINGS] Successfully parsed file <http://jenkins.XXXXX:8080/job/FPGA_vv_gr/ws/LAST_BUILD\log\vv_atp_bridge_top_tbs_sc_speed_acq_p2.rpt> of module with 1 warnings.
      [WARNINGS] Successfully parsed file <http://jenkins.XXXXX:8080/job/FPGA_vv_gr/ws/LAST_BUILD\log\vv_atp_bridge_top_tbs_sc_speed_acq_p3.rpt> of module with 1 warnings.
      [WARNINGS] Successfully parsed file <http://jenkins.XXXXX:8080/job/FPGA_vv_gr/ws/LAST_BUILD\log\vv_atp_bridge_top_tbs_sc_speed_acq_p4.rpt> of module with 1 warnings.
      [WARNINGS] Successfully parsed file <http://jenkins.XXXXX:8080/job/FPGA_vv_gr/ws/LAST_BUILD\log\vv_atp_bridge_top_tbs_sc_speed_acq_p5.rpt> of module with 1 warnings.
      [WARNINGS] Successfully parsed file <http://jenkins.XXXXX:8080/job/FPGA_vv_gr/ws/LAST_BUILD\log\vv_atp_bridge_top_tbs_sc_wdg_and_wd_clk_mngt_p1.rpt> of module with 1 warnings.
      [WARNINGS] Successfully parsed file <http://jenkins.XXXXX:8080/job/FPGA_vv_gr/ws/LAST_BUILD\log\vv_atp_bridge_top_tbs_sc_wdg_and_wd_clk_mngt_p2.rpt> of module with 1 warnings.
      [WARNINGS] Parsing warnings in files 'LAST_BUILD/log/.rpt' with parser FPGA_Questa_tb_memory [WARNINGS] Finding all files that match the pattern LAST_BUILD/log/.rpt [WARNINGS] Parsing 10 files in <http://jenkins.XXXXX:8080/job/FPGA_vv_gr/ws/>
      [WARNINGS] Successfully parsed file <http://jenkins.XXXXX:8080/job/FPGA_vv_gr/ws/LAST_BUILD\log\vv_atp_bridge_top_tbs_sc_divio_clock.rpt> of module with 0 warnings.
      [WARNINGS] Successfully parsed file <http://jenkins.XXXXX:8080/job/FPGA_vv_gr/ws/LAST_BUILD\log\vv_atp_bridge_top_tbs_sc_hvsd_inhibit_mngt.rpt> of module with 1 warnings.
      [WARNINGS] Successfully parsed file <http://jenkins.XXXXX:8080/job/FPGA_vv_gr/ws/LAST_BUILD\log\vv_atp_bridge_top_tbs_sc_mram_lock_mngt.rpt> of module with 1 warnings.
      [WARNINGS] Successfully parsed file <http://jenkins.XXXXX:8080/job/FPGA_vv_gr/ws/LAST_BUILD\log\vv_atp_bridge_top_tbs_sc_speed_acq_p1.rpt> of module with 1 warnings.
      [WARNINGS] Successfully parsed file <http://jenkins.XXXXX:8080/job/FPGA_vv_gr/ws/LAST_BUILD\log\vv_atp_bridge_top_tbs_sc_speed_acq_p2.rpt> of module with 1 warnings.
      [WARNINGS] Successfully parsed file <http://jenkins.XXXXX:8080/job/FPGA_vv_gr/ws/LAST_BUILD\log\vv_atp_bridge_top_tbs_sc_speed_acq_p3.rpt> of module with 1 warnings.
      [WARNINGS] Successfully parsed file <http://jenkins.XXXXX:8080/job/FPGA_vv_gr/ws/LAST_BUILD\log\vv_atp_bridge_top_tbs_sc_speed_acq_p4.rpt> of module with 1 warnings.
      [WARNINGS] Successfully parsed file <http://jenkins.XXXXX:8080/job/FPGA_vv_gr/ws/LAST_BUILD\log\vv_atp_bridge_top_tbs_sc_speed_acq_p5.rpt> of module with 1 warnings.
      [WARNINGS] Successfully parsed file <http://jenkins.XXXXX:8080/job/FPGA_vv_gr/ws/LAST_BUILD\log\vv_atp_bridge_top_tbs_sc_wdg_and_wd_clk_mngt_p1.rpt> of module with 1 warnings.
      [WARNINGS] Successfully parsed file <http://jenkins.XXXXX:8080/job/FPGA_vv_gr/ws/LAST_BUILD\log\vv_atp_bridge_top_tbs_sc_wdg_and_wd_clk_mngt_p2.rpt> of module with 1 warnings.
      [WARNINGS] Parsing warnings in console log with parser FPGA_Cockpit_tb_status [WARNINGS] Computing warning deltas based on reference build #75 [WARNINGS] Ignore new warnings since this is the first valid build [WARNINGS] Plug-in Result: Failed - <a href="warnings10Result">2 warnings</a> of <a href="warnings10Result/HIGH">priority High Priority</a> exceed the threshold of 1 by 1 [WARNINGS] Computing warning deltas based on reference build #75 [WARNINGS] Ignore new warnings since this is the first valid build [WARNINGS] Plug-in Result: Failed - <a href="warnings9Result">9 warnings</a> of <a href="warnings9Result/HIGH">priority High Priority</a> exceed the threshold of 1 by 8 [WARNINGS] Computing warning deltas based on reference build #75 [WARNINGS] Ignore new warnings since this is the first valid build [WARNINGS] Plug-in Result: Success - no threshold has been exceeded [WARNINGS] Computing warning deltas based on reference build #75 [WARNINGS] Ignore new warnings since this is the first valid build [WARNINGS] Plug-in Result: Success - no threshold has been exceeded [WARNINGS] Computing warning deltas based on reference build #75 [WARNINGS] Ignore new warnings since this is the first valid build [WARNINGS] Plug-in Result: Success - no threshold has been exceeded [WARNINGS] Computing warning deltas based on reference build #75 [WARNINGS] Ignore new warnings since this is the first valid build [WARNINGS] Plug-in Result: Success - no threshold has been exceeded Build step 'Scan for compiler warnings' changed build result to FAILURE

        Attachments

          Activity

          Hide
          drulli Ulli Hafner added a comment -

          Hmm, can't you just write your own template using the email ext plug-in?

          Show
          drulli Ulli Hafner added a comment - Hmm, can't you just write your own template using the email ext plug-in?
          Hide
          iostrym iostrym added a comment -

          As you may have notice, I'm not a Jenkins expert. Do you mean I would be able to use email ext plug-in and configure it so that email ext plug-in could use warning parsed by your plug-in and write them in a mail (only the number of warning with their respective priority)

          like :

          job TOTO terminated (success / not success)

          XXX warning with high severity

          XXX warning with low severity

          XXX warning with normal severity

           

          it is possible already ?

          Show
          iostrym iostrym added a comment - As you may have notice, I'm not a Jenkins expert. Do you mean I would be able to use email ext plug-in and configure it so that email ext plug-in could use warning parsed by your plug-in and write them in a mail (only the number of warning with their respective priority) like : job TOTO terminated (success / not success) XXX warning with high severity XXX warning with low severity XXX warning with normal severity   it is possible already ?
          Hide
          drulli Ulli Hafner added a comment -

          Yes: see example

          Show
          drulli Ulli Hafner added a comment - Yes: see example

            People

            Assignee:
            drulli Ulli Hafner
            Reporter:
            iostrym iostrym
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: