source profile before git clone on Agent Permanently deleted user Created October 25, 2017 12:20 Hi Support is it possible to apply any profile like "source ~/.profile" before git checkout ? goal : I need to execute git commands with special env variables
Hi,
it's not possible to run full commands before automatic checkout, but you can always disable automatic checkout, then set your first step to be a command line script that runs any commands you want and then performs the checkout.
This said, if what you want are special environment variables, you can set them up either on the agent or on the build, and they should be passed on to the agent before the build starts. More information about that here: https://confluence.jetbrains.com/display/TCD10/Configuring+Build+Parameters