hiepwork08
5 years agoContributor
Setting default project folder as a relative path
Spoiler
Hi,
I have a use case where I need to integration testcomplete/testexecute with BAMBOO for a continuous testing.
The testcomplete project and associated tests which needs to be run is source code configured in GIT.
When testExecute runs its needs a folder folder, how do I set the default project folder to be "relative".
What I am finding is that when the project is loaded to be executed by BAMBOO is wont runs because the project folder is fixed to a folder e.g. C:\Data\TestComplete. How would I set it to be relative such as, .../src/test/testcomplete. where the ... is relative to the GIT folder.
Cheers
I have a use case where I need to integration testcomplete/testexecute with BAMBOO for a continuous testing.
The testcomplete project and associated tests which needs to be run is source code configured in GIT.
When testExecute runs its needs a folder folder, how do I set the default project folder to be "relative".
What I am finding is that when the project is loaded to be executed by BAMBOO is wont runs because the project folder is fixed to a folder e.g. C:\Data\TestComplete. How would I set it to be relative such as, .../src/test/testcomplete. where the ... is relative to the GIT folder.
Cheers
It turns out the based directory created by BAMBOO can be obtained using the get-base-directory() function.
I have embedded the testcomplete tests to be executed in BAMBOO build script which has defined the GIT root path:
<property name="root.dir" value="${project::get-base_directory()}"/>