一、发布配置
-
差异配置:编译内容
-
编译目标
NetWorkClient/KJ90NetClient.csproj
- 编译命令
/t:build /p:Configuration=Release /p:OutputPath=../UploadRelease
-
编译目标
-
运行外部程序
二、配置jenkins启动外部程序不报错
- 通过参数配置
key: BUILD_ID
value: dontKillMe
-
设置全局变量配置
Go to Jenkins-->Manage Jenkins-->Configure System Now under 'Global properties' section, under Environment variables, click on ADD button to add new Environment variable. Give Name= BUILD_ID and value='allow_to_run_as_daemon start_my_service' (without quote). Click on save button. And you are done.