jenkins发布application且并运行
程序员文章站
2023-01-28 10:53:11
一、发布配置差异配置:编译内容编译目标NetWorkClient/KJ90NetClient.csproj编译命令/t:build/p:Configuration=Release /p:OutputPath=../UploadRelease运行外部程序二、配置jenkins启动外部程序不报错通过参数... ......
一、发布配置
- 差异配置:编译内容
- 编译目标
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.