chore: 添加jenkins构建脚本
This commit is contained in:
@@ -18,6 +18,9 @@ using Yi.Framework.Module.WebFirstManager.Entities;
|
||||
|
||||
namespace Yi.Framework.Module.WebFirstManager.Impl
|
||||
{
|
||||
/// <summary>
|
||||
/// WebFirst
|
||||
/// </summary>
|
||||
[ApiDescriptionSettings("WebFirstManager")]
|
||||
public class WebFirstService : ApplicationService, IWebFirstService, IDynamicApiController, ITransient
|
||||
{
|
||||
|
||||
@@ -27,9 +27,15 @@
|
||||
|
||||
|
||||
<ItemGroup>
|
||||
<None Update="end.sh">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="ip2region.db">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="start.sh">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
|
||||
|
||||
|
||||
3
Yi.Furion.Net6/Yi.Furion.Web.Entry/end.sh
Normal file
3
Yi.Furion.Net6/Yi.Furion.Web.Entry/end.sh
Normal file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
kill $(ps -aux | grep Yi.Furion.Web.Entry.dll | awk '{print $2}')
|
||||
echo "Yi-进程已关闭"
|
||||
4
Yi.Furion.Net6/Yi.Furion.Web.Entry/start.sh
Normal file
4
Yi.Furion.Net6/Yi.Furion.Web.Entry/start.sh
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
./end.sh
|
||||
nohup dotnet Yi.Furion.Web.Entry.dll > /dev/null 2>&1 &
|
||||
echo "Yi-启动成功!"
|
||||
Reference in New Issue
Block a user