I have a Release|Win32 and a Release|x64 configuration in visual studios every time I try one of them via bamboo I get an error like this:
17-Jan-2012 16:31:07 | 'x64' is not recognized as an internal or external command, |
17-Jan-2012 16:31:07 | operable program or batch file. |
I have tried wrapping it in single then double quotes or 2 double quotes and it still doesn't work. The options parameter should work like this /rebuild "Release|x64" works outside of bamboo but not within
I think you're experiencing a known bug Bamboo (to be precise: in bamboo-dotnet-plugin), see this ticket:
https://jira.atlassian.com/browse/BAM-9922
It's possible you could workaround the problem by using the devenvrunner.bat attached to the BAM-9922, but I don't know where exactly you should inject it into your Bamboo instance - probably you would have to rebuild the bamboo-dotnet-plugin (https://bitbucket.org/atlassian/bamboo-dotnet-plugin).
Ya that looks to be what I am experiencing. Not sure how to rebuild it though. We are just evaluating this product as a potential build system instead of what we have in place now.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hm... I'm not 100% sure this will work (btw: which Bamboo version are you evaluating?), but I think you could try the following:
Grab the https://maven.atlassian.com/content/groups/m1/com.atlassian.bamboo.plugins.dotnet/jars/atlassian-bamboo-plugin-dotnet-3.4.jar and replace the atlassian-bamboo-plugin-dotnet-x.x.jar you have in your BAMBOO/webapp/WEB-INF/lib directory (remove the old .jar). Then restart Bamboo instance. Depending on which Bamboo version you have and some luck factor this might resolve the problem with '|' (pipe) characters in the goal field. Or might not. :(
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In the extra environment variables on the task where you generate the solution files you need to add:
{code}Path=C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64{/code}
Then you should be able to build with
{code}devenv project.sln /build Release{/code}
and set the platform to amd64.
I'm assuming you're using the Visual Studio builder tool in bamboo?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You'll need to give us the bamboo build output so we have more context.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi. Thanks for reporting this. Could you please include the details of your build configuration? What version of Bamboo are you using? Can you include the portion of the build log that shows the full command line that bamboo _tried_ to execute?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.