Subversion Repositories DevTools

Rev

Rev 1320 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1320 Rev 4123
Line 838... Line 838...
838
      File dpkg = new File(mGbeDpkg);
838
      File dpkg = new File(mGbeDpkg);
839
      
839
      
840
      if ( dpkg.exists() )
840
      if ( dpkg.exists() )
841
      {
841
      {
842
        retVal = true;
842
        retVal = true;
-
 
843
        mLogger.fatal("recover: dpkg_archive access has been restored");
843
      }
844
      }
844
    }
845
    }
845
    
846
    
846
    mLogger.info("recover returned " + retVal);
847
    mLogger.info("recover returned " + retVal);
847
    return retVal;
848
    return retVal;
Line 989... Line 990...
989
  {
990
  {
990
    mLogger.debug("completeTestBuild");
991
    mLogger.debug("completeTestBuild");
991
    
992
    
992
    if ( mTestBuildInstruction == 0)
993
    if ( mTestBuildInstruction == 0)
993
    {
994
    {
-
 
995
      mLogger.fatal("completeTestBuild. Not Build Instruction");
994
      return;
996
      return;
995
    }
997
    }
996
    String indentString = "    ";
998
    String indentString = "    ";
997
    String mailBody="Test build issues are identified in preceding build failure email.<p>" +
999
    String mailBody="Test build issues are identified in preceding build failure email.<p>" +
998
                    "Release: " + release + "<br>" +
1000
                    "Release: " + release + "<br>" +
Line 1036... Line 1038...
1036
    }
1038
    }
1037
 
1039
 
1038
    mailBody += "<p><hr>";
1040
    mailBody += "<p><hr>";
1039
    try
1041
    try
1040
    {
1042
    {
-
 
1043
      String target = emailInfoNonAntTask();
-
 
1044
mLogger.fatal("completeTestBuildEmail Server: " + mailServer);
-
 
1045
mLogger.fatal("completeTestBuildEmail Sender: " + mailSender);
-
 
1046
mLogger.fatal("completeTestBuildEmail Target: " + target);
-
 
1047
      
1041
      Smtpsend.send(
1048
      Smtpsend.send(
1042
      mailServer,           // mailServer
1049
      mailServer,           // mailServer
1043
      mailSender,           // source
1050
      mailSender,           // source
1044
      emailInfoNonAntTask(),// target
1051
      target,               // target
1045
      null,                 // cc
1052
      mailSender,           // cc
1046
      null,                 // bcc
1053
      null,                 // bcc
1047
      success == true ? "TEST BUILD COMPLETED SUCCESSFULLY" : "TEST BUILD FAILED", // subject
1054
      success == true ? "TEST BUILD COMPLETED SUCCESSFULLY" : "TEST BUILD FAILED", // subject
1048
      mailBody,             // body
1055
      mailBody,             // body
1049
      null                  // attachment
1056
      null                  // attachment
1050
      );
1057
      );
1051
    }
1058
    }
1052
    catch( Exception e )
1059
    catch( Exception e )
1053
    {
1060
    {
-
 
1061
        mLogger.warn("Email Failure: completeTestBuild:" + e.getMessage());
1054
    }
1062
    }
1055
    
1063
    
1056
    releaseManager.markDaemonInstCompletedConnect(mTestBuildInstruction);
1064
    releaseManager.markDaemonInstCompletedConnect(mTestBuildInstruction);
-
 
1065
mLogger.fatal("completeTest. Returning");
1057
  }
1066
  }
1058
  
1067
  
1059
  /**returns true if the package has a circular dependency
1068
  /**returns true if the package has a circular dependency
1060
   */
1069
   */
1061
  public boolean hasCircularDependency(RippleEngine ripEng)
1070
  public boolean hasCircularDependency(RippleEngine ripEng)