Bamboo 5.5.1 build 4306 and Visual Studio 2013

Hi,

I am trying to create a Bamboo build plan using Visual Studio 2013 as the builder. When I trigger the build it starts but never completes. Below is the build log I am seeing. As you can see, the build appeared to start and I manually stopped it after waiting for about 30 minutes.

 

simple	26-Sep-2014 12:13:56	Build Digital Library System - Ingest Management Console 19.00 - Release Build #7 (DLS-IMCREL-JOB1-7) started building on agent Default Agent
simple	26-Sep-2014 12:13:56	Build working directory is E:\bamboo-home401\xml-data\build-dir\131073\DLS-IMCREL-JOB1
simple	26-Sep-2014 12:13:56	Executing build Digital Library System - Ingest Management Console 19.00 - Release Build #7 (DLS-IMCREL-JOB1-7)
simple	26-Sep-2014 12:13:56	Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
simple	26-Sep-2014 12:13:56	Running preRetrieveSourceCode task...
simple	26-Sep-2014 12:13:57	Build always requires a clean checkout
simple	26-Sep-2014 12:13:57	Cleaning build directory 'E:\bamboo-home401\xml-data\build-dir\131073\DLS-IMCREL-JOB1'
error	26-Sep-2014 12:14:05	Unable to clean source directory 'E:\bamboo-home401\xml-data\build-dir\131073\DLS-IMCREL-JOB1' Unable to delete directory E:\bamboo-home401\xml-data\build-dir\131073\DLS-IMCREL-JOB1\BL.DLS.IngestManagement.Console.Setup.
simple	26-Sep-2014 12:14:05	Build always requires a clean checkout
simple	26-Sep-2014 12:14:05	Cleaning build directory 'E:\bamboo-home401\xml-data\build-dir\131073\DLS-IMCREL-JOB1'
simple	26-Sep-2014 12:14:05	Updating source code to revision: 11916
simple	26-Sep-2014 12:14:05	Working directory 'E:\bamboo-home401\xml-data\build-dir\131073\DLS-IMCREL-JOB1' is empty. Checking out SVN URL 'https://v8b-vera.ad.bl.uk/svn/DLS/IngestManagement/Trunk'
simple	26-Sep-2014 12:14:55	Updated source code to revision: 11916
simple	26-Sep-2014 12:14:55	Running postRetrieveSourceCode task...
simple	26-Sep-2014 12:14:55	Finished task 'Checkout Default Repository'
simple	26-Sep-2014 12:14:55	Running pre-build action: Clover Grails PreBuild Action
simple	26-Sep-2014 12:14:55	Running pre-build action: VCS Version Collector
simple	26-Sep-2014 12:14:55	Starting task 'Visual Studio' of type 'com.atlassian.bamboo.plugin.dotnet:devenv'
command	26-Sep-2014 12:14:55	Beginning to execute external process for build 'Digital Library System - Ingest Management Console 19.00 - Release Build #7 (DLS-IMCREL-JOB1-7)'\n ... running command line: \nE:\bamboo-home401\DotNetSupport\devenvrunner.bat E:\bamboo-home401\xml-data\build-dir\131073\DLS-IMCREL-JOB1 C:\Program Files (x86)\Microsoft Visual Studio 12.0 x86_amd64 IngestManagement.sln /build Release\n ... in: E:\bamboo-home401\xml-data\build-dir\131073\DLS-IMCREL-JOB1\n
build	26-Sep-2014 12:14:55	"C:\Program Files (x86)\Microsoft Visual Studio 12.0" 
build	26-Sep-2014 12:14:55	
build	26-Sep-2014 12:14:55	E:\bamboo-home401\xml-data\build-dir\131073\DLS-IMCREL-JOB1>call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" x86_amd64 
build	26-Sep-2014 12:15:16	
build	26-Sep-2014 12:15:16	Microsoft Visual Studio 2013 Version 12.0.30501.0.
build	26-Sep-2014 12:15:16	Copyright (C) Microsoft Corp. All rights reserved.
build	26-Sep-2014 12:15:16	1>------ Build started: Project: BL.DLS.IngestManagement, Configuration: Release Any CPU ------
command	26-Sep-2014 12:47:02	Request to stop 'DLS-IMCREL-JOB1-7' received from chearson
simple	26-Sep-2014 12:47:02	Failing task since return code of [E:\bamboo-home401\DotNetSupport\devenvrunner.bat E:\bamboo-home401\xml-data\build-dir\131073\DLS-IMCREL-JOB1 C:\Program Files (x86)\Microsoft Visual Studio 12.0 x86_amd64 IngestManagement.sln /build Release] was -1 while expected 0
simple	26-Sep-2014 12:47:02	Finished task 'Visual Studio'
simple	26-Sep-2014 12:47:02	Running post build plugin 'NCover Results Collector'
simple	26-Sep-2014 12:47:02	Running post build plugin 'Clover Results Collector'
simple	26-Sep-2014 12:47:02	Running post build plugin 'Artifact Copier'
simple	26-Sep-2014 12:47:02	Publishing an artifact: Console MSI
error	26-Sep-2014 12:47:02	Unable to publish artifact [Console MSI]: 
simple	26-Sep-2014 12:47:02	Finished publishing of artifact Job artifact: [Console MSI], pattern: [BL.DLS.IngestManagement.Console.Setup.msi] anchored at: [BL.DLS.IngestManagement.Console.Setup/Release] in 0s
simple	26-Sep-2014 12:47:02	Finalising the build...
simple	26-Sep-2014 12:47:02	Stopping timer.
simple	26-Sep-2014 12:47:02	Build DLS-IMCREL-JOB1-7 completed.
simple	26-Sep-2014 12:47:02	Running on server: post build plugin 'NCover Results Collector'
simple	26-Sep-2014 12:47:02	Running on server: post build plugin 'Clover Delta Calculator'
simple	26-Sep-2014 12:47:02	Running on server: post build plugin 'Build Hanging Detection Configuration'
simple	26-Sep-2014 12:47:02	Running on server: post build plugin 'Maven Dependencies Postprocessor'
simple	26-Sep-2014 12:47:02	All post build plugins have finished
simple	26-Sep-2014 12:47:03	Generating build results summary...
simple	26-Sep-2014 12:47:03	Saving build results to disk...
simple	26-Sep-2014 12:47:03	Indexing build results...
simple	26-Sep-2014 12:47:03	Finished building DLS-IMCREL-JOB1-7.

1 answer

0 vote

This fragment of log

build	26-Sep-2014 12:15:16	1>------ Build started: Project: BL.DLS.IngestManagement, Configuration: Release Any CPU ------
command	26-Sep-2014 12:47:02	Request to stop 'DLS-IMCREL-JOB1-7' received from chearson

shows that your build didn't output any information for over 30 minutes. Is this normal? Is it possible that some part of your build requires interaction with the user (either command line or GUI)?

What happens if you run the very same command from the shell?

E:\bamboo-home401\DotNetSupport\devenvrunner.bat E:\bamboo-home401\xml-data\build-dir\131073\DLS-IMCREL-JOB1 "C:\Program Files (x86)\Microsoft Visual Studio 12.0" x86_amd64 IngestManagement.sln /build Release

being in the directory

E:\bamboo-home401\xml-data\build-dir\131073\DLS-IMCREL-JOB1

What is the output then?

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,570 views 0 6
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you