Change Checkout Directory during build
Hi Guys,
Is it possible for plugin to change Checkout Directory for specific build?
I want to specify checkout directory for builds dynamicaly based on some rules.
Thank you.
Please sign in to leave a comment.
Hi Guys,
Is it possible for plugin to change Checkout Directory for specific build?
I want to specify checkout directory for builds dynamicaly based on some rules.
Thank you.
Please sign in to leave a comment.
Hi Eduard,
AFAIK, If you trigger build manually, you can change 'teamcity.build.checkoutDir' parameter value to whatever you want. Example of runnig build using Java API you can found here.
If you don't start build manually via API, please describe your process.
Simpliest solution is to set checkout directory in UI to something like '/path/%build.number%', without any API usage. OR use another parameter expansion which is created by your code.
Regards,
Vladislav.
Hi Vladislav,
Thank you for quick answer!
I want to have a Build Feature that helps me to create RAM drive on demand and use it for partucular build to increase build perfomance.
I am going to use command line tool for RAM drive creation like ImDisk.
Thank you.