How do I run a TeamCity build as a specific user

前端 未结 2 1764
慢半拍i
慢半拍i 2021-02-19 19:48

I have a build configuration which deploys my code to a machine. Depending on which machine I am deploying to (e.g. dev/uat/prod), I need to run as a different user.

Ra

2条回答
  •  孤城傲影
    2021-02-19 20:16

    Neil, you can pass build parameters via Run Custom Build dialog.

    There are "System properties" and "Environment variables" sections, where you can add new build parameters or redefine existing ones.

    Please read more: http://confluence.jetbrains.net/display/TCD6/Triggering+a+Custom+Build

提交回复
热议问题