Test.EIImageViewer
parent
bc6241d566
commit
daee531bdd
|
@ -326,7 +326,7 @@ namespace PublishSite
|
||||||
|
|
||||||
if (stopServiceCommand.ExitStatus != 0)
|
if (stopServiceCommand.ExitStatus != 0)
|
||||||
{
|
{
|
||||||
throw new Exception($"Failed to stop {serviceName}.");
|
WinformLog($"Failed to stop {serviceName}.",Color.Red);
|
||||||
}
|
}
|
||||||
|
|
||||||
Task.Delay(1000);
|
Task.Delay(1000);
|
||||||
|
@ -338,7 +338,7 @@ namespace PublishSite
|
||||||
compressCommand.Execute();
|
compressCommand.Execute();
|
||||||
if (compressCommand.ExitStatus != 0)
|
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)
|
if (startServiceCommand.ExitStatus != 0)
|
||||||
{
|
{
|
||||||
throw new Exception($"Failed to start {serviceName}.");
|
WinformLog($"Failed to start {serviceName}.", Color.Red);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
{
|
{
|
||||||
"BackUp": {
|
"BackUp": {
|
||||||
"DataBaseName": "IRaCIS_New_Tet",
|
"DataBaseName": "IRaCIS_Verify",
|
||||||
"DBUser": "sa",
|
"DBUser": "sa",
|
||||||
"DBPwd": "dev123456DEV",
|
"DBPwd": "dev123456DEV",
|
||||||
"BackPath": "D:\\Develop\\PublishSite\\发布备份",
|
"BackPath": "D:\\Develop\\Verify_PublishSite\\发布备份",
|
||||||
"ConnectionStrings": "Server=.;Database=IRaCIS;Trusted_Connection=True;TrustServerCertificate=true"
|
"ConnectionStrings": "Server=.;Database=IRaCIS_Verify;Trusted_Connection=True;TrustServerCertificate=true"
|
||||||
},
|
},
|
||||||
"Credential": {
|
"Credential": {
|
||||||
"Host": "123.56.94.154",
|
"Host": "123.56.94.154",
|
||||||
|
@ -12,10 +12,10 @@
|
||||||
"Password": "WHxckj2019"
|
"Password": "WHxckj2019"
|
||||||
},
|
},
|
||||||
"DefaultService": {
|
"DefaultService": {
|
||||||
"ServiceName": "NetCore.IRaCIS.Api",
|
"ServiceName": "Verify.NetCore.IRaCIS.Api",
|
||||||
"ServiceDisplayName": "CICD_IRaCIS.Core.API",
|
"ServiceDisplayName": "Verify_IRaCIS.Core.API",
|
||||||
"ServicePort": "7100",
|
"ServicePort": "7020",
|
||||||
"BinPath": "D:\\Develop\\PublishSite\\IRaCIS.NetCore.API\\IRaCIS.Core.API.exe",
|
"BinPath": "D:\\Develop\\Verify_PublishSite\\IRaCIS.NetCore.API\\IRaCIS.Core.API.exe",
|
||||||
"Env": "Development"
|
"Env": "Staging"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue