How to set PATH and LD_LIBRARY_PATH environment variables in Unix TeamCity build agent?

I use TeamCity to build C ++ on Unix (Solaris). TeamCity calls make, and in my makefile I need to call svn. To do this, I need to change PATHand LD_LIBRARY_PATH.

I could install them in a makefile, but the location changed from server to server. Does anyone know a way to install them for each TeamCity build agent, for example. by editing conf/buildAgent.properties?

I could install them in ~/.loginetc. to build the TeamCity assembly, but I would prefer not to do this, since this is a shared account.

-thanks, Barney

+5
source share
2

script, TeamCity.

0

conf/buildAgent.properties, , , env.. , . :

env.MAKEFLAGS=-j8
env.PATH=/usr/local/bin:%env.PATH%

( . , 5.0 ( , , ), 7.0 .)

+19

All Articles