Page 1 of 1

Bamboo CI Integration: Ranorex dependencies for msbuild

Posted: Fri Oct 13, 2017 1:50 pm
by lawrence
Hi everyone

I'm currently trying to integrate our Ranorex test solution (Ranorex 7.2.0, C#, AUT Java) into our Bamboo CI infrastructure (based on this blogpost: https://www.ranorex.com/blog/bamboo-ci- ... utomation/). So far I've manged to set up a build plan that checks out the the git repo of our Ranorex solution and then tries to use msbuild to build the Ranorex solution:
build_task.PNG
However, I'm getting this error message:
error.PNG
So, from the error log I infer that msbuild on the Bamboo agent is missing the core ranorex libraries. How and where in the Ranorex solution do I tell msbuild to resolve those dependencies?
Or do I have to install Ranorex (or maybe the Ranorex Agent) on the Bamboo agent (however, my idea was to only build the Ranorex solution using the Bamboo Agent and then deploy the bin/release folder to the VM where the Ranorex agent is installed and from where I have access to the latest build of our AUT)

My idea for a solution was as follows, however I'm doing this post because maybe there's a much easier solution (I imagined sth like when you add a dependency to a maven pom file for Java projects...):
Add the relevant dll's manually to a lib folder (to avoid having to add them to the git repo) that I can access from my local env and that can be accessed by the Bamboo agent as well. Then add the path of that folder as a reference path in the Ranorex Project Options.

CI world is confusing :roll:

Any help is appreciated

Many thanks!
/Lawrence

Re: Bamboo CI Integration: Ranorex dependencies for msbuild

Posted: Fri Oct 13, 2017 2:01 pm
by odklizec
Hi,

I'm afraid, you need to install Ranorex on the build server. Check for example this post:
https://www.ranorex.com/forum/ranorex-p ... tml#p28429

Re: Bamboo CI Integration: Ranorex dependencies for msbuild

Posted: Fri Oct 13, 2017 2:19 pm
by lawrence
Thanks a lot for the quick reply, odklizec. So it seems I need to schedule the build to a time when I’m not working on the tests or get another node locked license for the agent....
odklizec wrote:Hi,

I'm afraid, you need to install Ranorex on the build server. Check for example this post:
https://www.ranorex.com/forum/ranorex-p ... tml#p28429