Test.EIImageViewer
hang 2023-05-31 16:11:02 +08:00
parent bc6241d566
commit daee531bdd
2 changed files with 11 additions and 11 deletions

View File

@ -326,7 +326,7 @@ namespace PublishSite
if (stopServiceCommand.ExitStatus != 0)
{
throw new Exception($"Failed to stop {serviceName}.");
WinformLog($"Failed to stop {serviceName}.",Color.Red);
}
Task.Delay(1000);
@ -338,7 +338,7 @@ namespace PublishSite
compressCommand.Execute();
if (compressCommand.ExitStatus != 0)
{
throw new Exception("Failed to compress and move folder contents.");
WinformLog("Failed to compress and move folder contents.", Color.Red);
}
//启动服务
@ -349,7 +349,7 @@ namespace PublishSite
if (startServiceCommand.ExitStatus != 0)
{
throw new Exception($"Failed to start {serviceName}.");
WinformLog($"Failed to start {serviceName}.", Color.Red);
}

View File

@ -1,10 +1,10 @@
{
"BackUp": {
"DataBaseName": "IRaCIS_New_Tet",
"DataBaseName": "IRaCIS_Verify",
"DBUser": "sa",
"DBPwd": "dev123456DEV",
"BackPath": "D:\\Develop\\PublishSite\\发布备份",
"ConnectionStrings": "Server=.;Database=IRaCIS;Trusted_Connection=True;TrustServerCertificate=true"
"BackPath": "D:\\Develop\\Verify_PublishSite\\发布备份",
"ConnectionStrings": "Server=.;Database=IRaCIS_Verify;Trusted_Connection=True;TrustServerCertificate=true"
},
"Credential": {
"Host": "123.56.94.154",
@ -12,10 +12,10 @@
"Password": "WHxckj2019"
},
"DefaultService": {
"ServiceName": "NetCore.IRaCIS.Api",
"ServiceDisplayName": "CICD_IRaCIS.Core.API",
"ServicePort": "7100",
"BinPath": "D:\\Develop\\PublishSite\\IRaCIS.NetCore.API\\IRaCIS.Core.API.exe",
"Env": "Development"
"ServiceName": "Verify.NetCore.IRaCIS.Api",
"ServiceDisplayName": "Verify_IRaCIS.Core.API",
"ServicePort": "7020",
"BinPath": "D:\\Develop\\Verify_PublishSite\\IRaCIS.NetCore.API\\IRaCIS.Core.API.exe",
"Env": "Staging"
}
}