一、发布配置

  • 差异配置:编译内容
    • 编译目标NetWorkClient/KJ90NetClient.csproj
    • 编译命令
    /t:build
    /p:Configuration=Release  /p:OutputPath=../UploadRelease
    

jenkins发布application且并运行

  • 运行外部程序
    jenkins发布application且并运行

二、配置jenkins启动外部程序不报错

  • 通过参数配置
key: BUILD_ID
value: dontKillMe

jenkins发布application且并运行

  • 设置全局变量配置
    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.
    jenkins发布application且并运行

相关文章:

  • 2021-06-25
  • 2022-12-23
  • 2022-12-23
  • 2021-11-29
  • 2021-12-11
  • 2022-12-23
  • 2022-12-23
  • 2022-01-05
猜你喜欢
  • 2021-11-20
  • 2021-06-29
  • 2021-10-15
  • 2021-07-30
  • 2022-01-18
  • 2021-06-09
  • 2021-09-24
相关资源
相似解决方案