Quantcast
Channel: Azure Management Portal forum
Viewing all articles
Browse latest Browse all 4189

Deployment to Azure, publishing a package using TFS Team Build. Workspace value being null issue.

$
0
0

Hi All,

I am setting up continuous deployment for Cloud Services in Windows Azure, with publishing a package using TFS Team Build.

I followed all steps described in the following link:

http://www.windowsazure.com/en-us/documentation/articles/cloud-services-dotnet-continuous-delivery/#step5.

Created a build process template, based on a default one (TfvcTemplate.12.xaml).

Unfortunately, once I run a build, it fails at "Convert publish script filename" step with the following exception:

Exception Message: Value cannot be null.
Parameter name: Workspace (type ArgumentNullException)
Exception Stack Trace:    at Microsoft.TeamFoundation.Build.Workflow.Activities.ConvertWorkspaceItem.Execute(CodeActivityContext context)
   at System.Activities.CodeActivity`1.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
   at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)

I assume it is a problem to do with Workspace not being instantiated anywhere in the process template. As documentation is written a while ago it possibly can be that my default template does not hold Workspace reference any more. I tried to manually instantiate it with CreateWorkspace and GetWorkspace activities but no luck. Gives me more exceptions.

Again, the image in the article I followed contains the image, which has BuildAgent and Workspace variables defined (#5.3). But there is no mentioning about them in the article...

Is there any solution for this case?

Thank you in advance.


Viewing all articles
Browse latest Browse all 4189

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>