KCL
07-27-2017, 01:01 PM
I have an environment variable PROJ_A setup on my machine, and the continuous integration machine, however the value of the environment variable is different on both machines. The environment variable is the source folder of my files that will be getting installed.
So if, in command prompt, I run
echo %PROJ_A%\test.exe on my machine I'll see
C:\LocalProjects\ProjA\test.exe but if I run the same thing on the CI machine, I'll get
A:\Build\Checkout\ProjA\test.exe.
I'm wanting to set the source folder of a file being installed, to a path that uses an environment variable. Since this is going to run on a CI server, I won't be able to manually go in and change the compiler variables every time I want to build, so there should be a way to do this.
If there already is a way, I appologize in advance--I'm not seeing it.
Thanks,
Kevin
So if, in command prompt, I run
echo %PROJ_A%\test.exe on my machine I'll see
C:\LocalProjects\ProjA\test.exe but if I run the same thing on the CI machine, I'll get
A:\Build\Checkout\ProjA\test.exe.
I'm wanting to set the source folder of a file being installed, to a path that uses an environment variable. Since this is going to run on a CI server, I won't be able to manually go in and change the compiler variables every time I want to build, so there should be a way to do this.
If there already is a way, I appologize in advance--I'm not seeing it.
Thanks,
Kevin