I'd like to know if when we force source clean, and then run a build, is there an special environment variable that is set then I can know in my build script ?
Right now there is no such environment variable, why do you need it?
For the moment the sources and built files are not in same folder, so when I do a clean in TeamCity, the sources are cleaned, but not the build folder, so I need to do it myself in a script. I do this for the nightly build, but for post-commit builds, it has to be quick, so no cleaning, but in case I need to force a clean, I need it.
Right now there is no such environment variable, why do you need it?
Le 03/06/2009 13:45, Pavel Sher a ecrit :
For the moment the sources and built files are not in same folder, so
when I do a clean in TeamCity, the sources are cleaned, but not the
build folder, so I need to do it myself in a script. I do this for the
nightly build, but for post-commit builds, it has to be quick, so no
cleaning, but in case I need to force a clean, I need it.
Is it a feature that can be added ?
Gérald
Well, I think this feature can be implemented, feel free to submit it to our tracker.
Le 03/06/2009 15:43, Pavel Sher a ecrit :
ok, here it is : http://jetbrains.net/tracker/issue2/TW-8391
Gérald