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

compiling failed but trigger success email

XMLWordPrintable

      Hi,
      I make utest after compiling. It shows failed in log, but send out success email.
      error info:

      ../../src/snmp/snmp_async_interface.c:352: warning: unused variable `session'
      gcc -g /home/gaxu/atcamgw-main/SS_MGWRemoteTDMMgr/include/UTframework/tnsdlunit/lib/libtnsdlunit.a main_tests.o stubs.o stubs_pm.o stubs_snmp.o Test_AdxAlarmFilter.o Test_AdxAlarmHandle.o Test_AdxPm.o Test_AdxSNMPHandle.o Test_AdxSystemCfg.o Test_SnmpAdxMspConf.o Test_SnmpAdxPdhConf.o Test_SnmpAdxSdhConf.o string_operation.o teststubs_ad5fil.o teststubs_ad9fil.o teststubs_adkfil.o ../../src/adx_alarmfilter.o ../../src/adx_alarmhandle.o ../../src/adx_pm_module.o ../../src/snmp/snmp_intf.o ../../src/snmp/snmp_adx_mibs.o ../../src/snmp/snmp_adx_pdh_conf.o ../../src/snmp/snmp_adx_sdh_conf.o ../../src/snmp/snmp_adx_msp_conf.o ../../src/snmp/snmp_adx_system_conf.o ../../src/snmp/snmp_adx_pm_conf.o ../../src/snmp/snmp_adx_pm_intf.o ../../src/snmp/snmp_async_interface.o -L /home/gaxu/atcamgw-main/SS_MGWRemoteTDMMgr/include/UTframework/tnsdlunit/dx_unittest/lib -L /home/gaxu/atcamgw-main/SS_MGWRemoteTDMMgr/include/UTframework/tnsdlunit/lib -ltnsdlunit -lclustub -llibgenstub -ldmxstub -ldx_utils -ldto_encode_decode -lmessage_queue -lsekstub -lstring_utils -lnetsnmp -lssl -lpthread -lgcov -L /home/gaxu/atcamgw-main/SS_MGWRemoteTDMMgr/include/UTframework/tnsdlunit/dx_unittest/cpputest/lib -lCppUTest -lCppUTestExt -lstdc++ -o remotemgr_tnsdl_tst
      ./remotemgr_tnsdl_tst -ojunit
      make[1]: *** [all] Error 5
      make[1]: Leaving directory `/home/hzmgwscm/projects/ui5_trunk/atcamgw-main/SS_MGWRemoteTDMMgr/src/manager/tst/UT'
      make: *** [utest] Error 2
      [htmlpublisher] Archiving HTML reports...
      [htmlpublisher] Archiving at PROJECT level /home/hzmgwscm/projects/ui5_trunk/atcamgw-main/SS_MGWRemoteTDMMgr/build/artifacts/CMTHTML to /home/hzmgwscm/.jenkins/jobs/ui5_EP1-trunk_SS_MGWRemoteTDMMgr_test/htmlreports/CMT_Report
      [htmlpublisher] Archiving at PROJECT level /home/hzmgwscm/projects/ui5_trunk/atcamgw-main/SS_MGWRemoteTDMMgr/build/artifacts/PMD to /home/hzmgwscm/.jenkins/jobs/ui5_EP1-trunk_SS_MGWRemoteTDMMgr_test/htmlreports/CPD_Report
      [htmlpublisher] Archiving at PROJECT level /home/hzmgwscm/projects/ui5_trunk/atcamgw-main/SS_MGWRemoteTDMMgr/build/artifacts/pylintreport to /home/hzmgwscm/.jenkins/jobs/ui5_EP1-trunk_SS_MGWRemoteTDMMgr_test/htmlreports/Static_Check_Report
      Email was triggered for: Success
      Sending email for trigger: Success
      Sending email to: jianfeng.chen@nsn.com
      Finished: SUCCESS

            Unassigned Unassigned
            pangpangwanzi pangpang wanzi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: