Support Q & A

How do I copy an Application to a different BuildMaster installation

1
replies
I have 2 environments, UAT and Prod, that are not connected except both can see the source control server. I need BuildMaster in both environments with the same Applications. If I set up an Application in the UAT BuildMaster how do I copy it to the production environment?

Using existing database with ProGet

2
replies
I am trying to install a proget instance against an existing database, but I can't get it to work. The installation guide indicates that if I put a database name in the connection string, the installer will not try to create a database. But when I run the installer, and use the connection string

Data Source=sqldbadev102.taltrade.com;Initial Catalog=stage_proget;Integrated Security=true

The installer attempts a "CREATE DATABASE",and fails because the account it is running as doesn't have database create rights. How do I make the installer use an existing database?

Cannot Successfully Configure SMTP Settings

3
replies
I'm having trouble configuring up SMTP settings in BM free. I'm trying to use my Gmail account, and I've properly entered all the Gmail SMTP settings per this page (http://email.about.com/od/accessinggmail/f/Gmail_SMTP_Settings.htm). However, when I try to send a test email, BM spins for a while, and finally returns a "Timeout Error". I couldn't see anything in the BM logs related to this error.

I've tried using other SMTP servers (road runner, for instance), and none of them worked either. For a few settings, BM returned a "server does not support secure emails" or "failure to send email" error, but no further details.

I've looked at the Firewall settings on my server, and nothing seems to be blocking emails. I've also watched HTTP traffic through Fiddler while trying to send a test email, and that didn't trap anything obvious either.

What other steps can I try? Any thoughts as to what might be wrong? Thanks for your help.

Matthew

Environments containing many applications

1
replies
One of our installations contains many pieces - website, web services, background apps, windows services, queuing mechanisms, desktop GUI apps, etc. Written in a number of different languages, and built as separate projects.

There are, of course, dependencies among them. Most work against a common database, and have a dependency on the table schema. The older VB desktop GUI apps (which we've not yet been able to eliminate) depend upon a COM object, written in C++.

I've been reading through your whitepapers, and everything seems simple and clear, there. Mainly because the examples are simple and clear.

How do you deal with more complex situations?

Does a build wrap a single project? Or can it wrap multiples? How does Buildmaster deal with dependencies between projects?

Does a release map to a single projects? Or can it contain multiples?

Would a complex environment of the sort I've described be organized as a single release? Or would the various parts be handled as separate releases?

Is there any mechanism for meta-releases? For a top-level release that contains multiple lower-level releases?

Licensing Groups?

1
replies
Hi

We have a team in our organisation which requires the right to deploy, using BuildMaster, to our production environment. However, out of this team of five, only on person will ever be required to do this at any given time. Is it allowable, from a licensing perspective, to set up a BuildMaster account for any one of these five employees to use or do they all need their own account/license?

Thanks

Tim

Can I run a BuildMaster server on a Unix box

1
replies
All the installers I can find for BuildMaster are for a Windows PC. Is it possible to install the server on Unix?

Feed Connector to another Internal Feed

2
replies
I have two of my own internal feeds in ProGet. The first feed has a connector to the second. I cannot seem to download files from the second feed via the first feed. The package appears in the feed list, however, I get a 500 - Internal Server Error when trying to download.

I can download the file when using the second feed directly and I've gone through the admin and permission configurations for the feeds and users, but I'm uncertain what I'm missing.

I cannot download the file directly in ProGet via the download button if I've browsed to the package via the first feed. Same 500 error.

Currently my Anonymous (using this + API key for publishing/fetching) user has these permissions:

Feeds_AddPackage, Feeds_DownloadPackage, Feeds_OverwritePackage, Feeds_PullPackage, Feeds_ViewFeed

Currently, the file only exists in the second feed and the first feed is not caching files from the second. I have tried downloading the file with caching on and off.

I don't see much in the way of logs. There's some in IIS, but messages don't seem to indicate the problem.

I'm using the free edition of ProGet 2.0.4 on a 64-bit 2008 R2 with IIS. Maybe the free version is limited, but I thought Connectors (not the filters) were OK in this edition.

Post-Installation error - Handler has not been mapped to this request

4
replies
I'm getting the following error after installing. Help?
(Installing enterprise trial w/ existing sql server db on IIS. win 2008 r2 sp1 - 64bit.
(Removed domain/user from below)

Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 4/29/2013 8:47:05 AM
Event time (UTC): 4/29/2013 1:47:05 PM
Event ID: b1de36d61e644ba9b5165ca0d0237866
Event sequence: 4
Event occurrence: 3
Event detail code: 0

Application information:
Application domain: /LM/W3SVC/2/ROOT-1-130117165917405922
Trust level: Full
Application Virtual Path: /
Application Path: D:\BuildMaster\WebApp\
Machine name: FIT-BDMSTDEV-01

Process information:
Process ID: 3172
Process name: w3wp.exe
Account name: (domain)\app-account

Exception information:
Exception type: InvalidOperationException
Exception message: Handler has not been mapped to this request.

Request information:
Request URL: http://localhost/
Request path: /
User host address: ::1
User:
Is authenticated: False
Authentication Type:
Thread account name: (domain)\app-account

Thread information:
Thread ID: 9
Thread account name: (domain)\app-account
Is impersonating: False
Stack trace: at Inedo.BuildMaster.Web.WebApplication.BuildMasterHttpModule.PostMapRequestHandler(HttpApplication app)
at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)


Custom event details:

Build Master - Polling Frequency

1
replies
Is there a way of changing the frequency BuildMaster polls source control providers?

Rollback to Proget 2.0.1

4
replies
I just downloaded and installed 2.0.2 and I'm having nothing but trouble with this version. Could you point me to the rollback procedures so I can return to 2.0.1? I have a backup of my database. I assume I'll lose everything I've done today with 2.0.2.


Here's a quick synopsis of the trouble I'm having:

Had to update my Anonymous permissions to allow overwrite even when I was uploading a new, named differently build for the package. There were no files being overwritten.

The UI is not properly displaying the list of packages without refreshing 3-5 times. It shows different builds of the same package multiple times in the list. For ex. "Showing 1-20 of 6" that doesn't make too much sense. :-)

My feed is not displaying a new package I just uploaded - uploaded either from the command line using Nuget .exe or from the Admin UI.

Thanks,

Jason

bmservice fails to start

4
replies
I've installed the free version of BuildMaster 3.5.7 on a reinstalled Win7 Family Premium (x64) system
When I try to start the BM service I receive:
"An unhandled exception ('System.TypeInitializationException') occurred in bmservice.exe [8736]. Just-In-Time debugging this exception failed with the following error:0x80040070

The BM database was created on an existing SQL Express 2012 DBMS.

Any ideas concerning the bmservice exception?
TIA
John

Problem creating app ("Could not find file 'C:\Documents and Settings\<username>\Local Settings\Temp\<systemname>'. ")

1
replies
I'm having a problem creating an application.

I create a new .net app, but on the Source Control step (step 3) after I fill in the 'Path of solution or project' and click next I get an unexpected error.

"Could not find file 'C:\Documents and Settings\<username>\Local Settings\Temp\<systemname>'. "

I suspect this is because I originally installed as 'local system' and it doen't have rights to create the temp folder or something like that,

Can you advise if this is the case and how to correct?

Adding Visual Source Safe as a Source Control Provider

6
replies
I am trying to add VSS as a source control provider and am running into problems and hope someone can help.

I have downloaded the extension and am adding the provider but having difficulty with the Database Connection section.

Our VSS database file (srcsafe.ini)is stored on a shared drive at \\filer1\vss\VS2010\srcsafe.ini.

However if I enter this for the 'Database File Path' and click 'Test Connection' I get the following error: 'An unexpected error occurred while attempting to connect. The database file at '\\filer1\vss\VS2010\srcsafe.ini' does not exist.'

Additionally if I click '...' (next to 'Database File Path') I get a browse dialog with only c: and d: listed. Can the VSS extension not handle mapped or network drives, or am I doing something else wrong?

thanks in advance

Release Notes with automatic Notifiers

1
replies
Is it possible to include the system generated release notes in the user notifier that is automatically sent out upon a deployed release?

Problem installing windows agent (for tfs integration)

1
replies
I have installed the windows agent on our tfs server (which I understand is required for tfs intergration).

The server is Windows Server 2008 SP2.

I installed to c:\BuildMaster, using the local system account, port 81, IIS asp.net site.

No errors were reported during installation.

I then went to buildmaster admin > set up agents / external servers > Add new self-hosted server. correct name, port, no ssl, no token. Added it and it reported the server has a status of error.

The error log is now reporting 'Maximum response length exceeded (<correct ip>:81).'.

If, in buildmaster, I click restart agent I get an unexpected error 'The connection was closed unexpectedly.'

On the tfs server if I open 'http://localhost:81/' I get Server Error in Application "BUILDMASTERAGENT" HTTP Error 403.14 - Forbidden
The Web server is configured to not list the contents of this directory.
Which is sort of to be expected.

If I go 'http://localhost:81/WsdlHelpGenerator.aspx'
then I get 'Server Error in '/' Application.
Failed to Execute URL.'
Which is not really to be expected.

Can anyone suggest anything to try to get this working?

Subversion extension error: "Unable to connect. Can't determine the user's config path"

2
replies
I'm attempting to set up a Subversion source control provider, and am receiving an error-

"Unable to connect. Can't determine the user's config path"

I've tried using SVN command line, and get a similar error-

"Unable to connect. svn: E125001: Can't determine the user's config path"

Setup-
* Windows Server 2008R2 64 bit
* Subversion repository is across the network. Subversion URL is set as
svn://svn.example.com.au/svn_repository/my-project/
This URL works fine from TortoiseSVN repo browser.

Applying label (Subversion) fails with "System.InvalidCastException"

1
replies
Hi,

I'm new to BuildMaster and I'm having a problem labeling source in Subversion (see the log bellow).

The "Get Latest from trunk" action works fine.

I've the BuildMaster Express 3.5.8 (Build 30),
Subversion 1.7.9 - both installed locally.

Thanks for an advice,

Jan

===

Build 7 for Quercus 0.0.0 (07/04/2013 17:47:28)
Action Group 1: Get Quercus Source
Action 1: Apply label "%RELNO%.%BLDNO%" to files in trunk
Preparing remote servers for execution...
Preparing MYCOMPUTER for execution...
Preparation complete.
Initializing action...
Source and Target directory same; splitting.
RemoteAction Initialization Complete:
Temp Directory: C:\BuildMaster\_SVCTMP\_A2\_S3\TMP
Source Directory: C:\BuildMaster\_SVCTMP\_A2\_S3\SRC
Target Directory: C:\BuildMaster\_SVCTMP\_A2\_S3\WRK
Server: MYCOMPUTER (Id: 1)
Initialization complete. Executing...
Applying label '0.0.0.7'.
Execution complete. Finalizing...
System.InvalidCastException: Unable to cast object of type 'Inedo.BuildMasterExtensions.Subversion.Subversion15Provider' to type 'Inedo.BuildMaster.Extensibility.Providers.SourceControl.IVersioningProvider'. at Inedo.BuildMaster.Windows.ServiceApplication.SlimPlanActionExecuter.ExecuteRemoteCommand(RemoteActionBase action, RemoteCommandEventArgs e) at Inedo.BuildMaster.Windows.ServiceApplication.SlimPlanActionExecuter.TryExecuteRemoteCommand(RemoteActionBase action, RemoteCommandEventArgs e)
Target directory unused; joining with source.
Finalization complete.

Some corner cases with DB Change Scripts

1
replies
I have some questions regarding the usage of change scripts.

Let's say we have a project with two developers. Each has a local database, with a schema for development (with arbitrary data) and a schema for automated tests, which is filled and cleared by the test framework.
Further, we have three environments: Integration, where the project is built and the tests are run again; Staging, where the application is deployed and the DB contains some example data; and Production.

Now Developer 1 makes a change in the schema and commits updated code to into the trunk. She also creates a change script that can be applied to Staging (and later, Production).

1) Developer 2 was working on something unrelated and now merges the changes into his working copy. How will his development schema be updated?

2) After the change was already applied to staging, an emergency fix to the previous release was necessary. Lets say there is also a script to create the original database from scratch. Can BuildMaster be configured to automatically reset the database if its current version is "too recent"?

Fresh install: Configuration Error Unrecognized configuration section 'membership'

2
replies
I have just installed BuildManager on one of our servers (Windows Server 2003 SP2).
It is using IIS on port 81 (Already had a site on iis port 80) I am using my own SQL server.
When I go to localhost:81 I get the following:

Server Error in '/' Application.
--------------------------------------------------------------------------------

Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Unrecognized configuration section 'membership'

Source Error:


Line 38: </httpModules>
Line 39: <identity impersonate="false" />
Line 40: <membership defaultProvider="BmMembershipProvider">
Line 41: <providers>
Line 42: <clear />


Source File: C:\BuildMaster\WebApp\web.config Line: 40


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2502; ASP.NET Version:1.1.4322.2494

Can anyone help?

HttpListenerException in bmservice at service start

1
replies
When bmservice starts, both at the end of the setup, and if manually restarting the services with the admin tool, the VS JIT debugger catches an HttpListenerException. I also cannot access the BuildMaster portal, getting an "Oops! This link appears to be broken," from Google Chrome, and the IE equivalent from Internet Explorer.

When debugging with Visual Studio, the exception message says "The process cannot access the file because it is being used by another process." The exception details from VS are below:

System.Net.HttpListenerException was unhandled
Message=The process cannot access the file because it is being used by another process
Source=System
ErrorCode=32
NativeErrorCode=32
StackTrace:
Server stack trace:
at System.Net.HttpListener.AddAll()
at System.Net.HttpListener.Start()
at Inedo.Web.Server.HttpListenerHost.Start(WebServerConfiguration settings)
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Inedo.Web.Server.HttpListenerHost.Start(WebServerConfiguration settings)
at Inedo.Web.Server.IntegratedServer.ProcessRequests()
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException:

What "the file" is, I don't know.

I'm using Windows 7 x64. My hardware setup is as follows:
Processor: Intel i7-3770S @ 3.10GHz
RAM: 16GB

I have 189 GB of free space on the hard drive BuildMaster is installed on. My BuildMaster version is 3.5.8.30, and is the Enterprise edition demo. I haven't been able to activate it because I cannot access anything except the docs and the admin tool. I am using a self-hosted installation on my desktop.

I'm not sure what other information you might need, but I will be happy to provide you with whatever info you like.

Thanks

ProGet: Uploading Larger Files

4
replies
Via the NuGet command line, I'm attempting to upload a ~350 MB file to ProGet and either get a 404 error or Out of Memory Exception. I narrowed the problem down to files around ~20 MB being OK, but failing at ~40 MB.

I thought this might be a problem with NuGet.exe, but I cannot upload greater than ~40 MB files directly in the ProGet Web interface either. I've tried pushing with NuGet 2.2.1, 2.2.5 alpha, and the ProGet command line tools to no avail.

Does ProGet support uploading large files? I'm trying to construct a build pipeline using NuGet as the repository and need the 350 MB file to accomplish this goal.

Thanks - below are the errors. I couldn't seem to locate any related logs on my ProGet server.

==============================================

(Occurs sometimes - I didn't nail down the pattern)

System.InvalidOperationException: Failed to process request. 'Not Found'.
The remote server returned an error: (404) Not Found.. ---> System.Net.WebException: The remote server returned an error: (404) Not Found.
at System.Net.HttpWebRequest.GetResponse()
...

(Occurs sometimes but seemingly less frequent than the 404 - I didn't nail down the pattern)

System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.IO.MemoryStream.set_Capacity(Int32 value)
...

(From a Manual Upload)

404 - File or directory not found.

The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.

Install-Package : The UTC time represented when the offset is applied must be between year 0 and 10,000.

1
replies
I'm receiving this error after upgrading to ProGet 2.0.

Both in command line package manager and VS NuGet dialog.

VisualStudio 12 SP1
Package Manager Console Host Version 2.2.40116.9051



Install-Package : The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
At line:1 char:1
+ Install-Package Idecom.EventStore
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], ArgumentOutOfRangeException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand

BuildMasterUser_Role

1
replies
I read here: http://inedo.com/support/questions/230 that the only permissions needed to deploy DB scripts to SQL Server is the BuildMasterUser_Role. What if this role does not exist? How is this role created if the Service Account doesn't have permission to the SQL Server already?

We are trying to automate deployments to SQL Server and I initially provided the account "dbcreator" role but that failed. I couldn't find any documentation but for the link above. I had to grant it sysadmin privileges temporarily, and obviously that is not a good long-term solution.

Thanks,
Gary

How to set the configuration in bmdbupdate.exe

1
replies
Hi there,

I'm trying to run bmdbupdate.exe from a machine that is not the same as the database server. I know I must first use the 'C' option to configure the conn and init options, but what format do these options take? There are no examples and bmdbupdate.exe does not produce any error messages.

For example, what is the connection string format, and what is the init option used for?

TFS2012

6
replies
I'm trying to setup a deployment and I'm having trouble connecting to our TFS2012 server to get the code. I get this error when the Server is set to the agent server...

"An unexpected error occurred while attempting to connect. Exception has been thrown by the target of an invocation."

I get this error when Server is set to the buildmaster server (non-agent)...

"An unexpected error occurred while attempting to connect. Could not load file or assembly 'Microsoft.TeamFoundation.Client, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified."

I installed the TFS2012 extention and it restarted the services, what else do I need to do?

Unrecognised version of configuration during deployment

2
replies
Hi there,

We are running BuildMaster version 3.5.6 build 22, self-hosted.

I have a configuration file - a log4net.config - that, during edit and when viewing under 'recent changes', is as expected.

However, as soon as I go to deploy the file - either during a workflow or using the 'Deploy Configuration File' functionality, the contents don't match what I'm expecting.

I believe I'm seeing an old version of the file. This is despite choosing a specific (the latest) version and irrespective of 'Force most recent template' yes/no.

Would appreciate any asistance in troublshooting this issue.

Regards,
Jonathan

Powershell Execution

1
replies
I am trying to execute a simple external powershell script that I have saved on a remote server.

The script contains

param($SolutionPath)
write-output $SolutionPath

And I have my variables text box set up to look like this
SolutionPath=C:\TestPath\HelloWorld.txt

However when I run that powershell the SolutionPath is blank. What do I have set wrong to pass in the parameter to my powershell script?

MVVMLight package handling failure

3
replies
The latest version of MVVMLight package (from the official nuget feed) cannot be server correctly by nuget. The package has indeed some duplication in its nuspec file, but nuget server can serve it or even when serving from a directory.
However, ProGet cannot serve it.

PreRelease Bug

1
replies
Hi there,

I work with Adam who has been harassing you with questions lately ;-)
As you may know we are in the process of evaluating ProGet at the moment and I seem to have run into a bug.

I've got a package that contains a single assembly, AwesomeDLL.1.11.0.0.nupkg. I've been working on AwesomeDLL and need to test it in a different project, so I published AwesomeDLL.1.12.0.0-BETA001.nupkg.

When installing the package into my 2nd project, I opt to include pre-releases and my beta package shows up when searching for it and installs as expected.

The problem is though, when opting for stable releases, version 1.11.0.0 (the latest stable release) does not show up. Infact the AwesomeDLL package does not show up at all.

Is this a bug on your side?

Thanks
Harvey Saayman

ProGet - Feature request - Package Dependencies Manager

1
replies
Hi,

This is more of a feature request than a support issue, but I didn't know of anywhere else to log it.

I believe a killer feature for ProGet would be some kind of dependency management and diagramming page. Something along the lines of being able to select a package from the local feeds, and have ProGet show the dependencies required and where they come from. Additionally, being able to diagram those relationships and traverse the dependency tree to the child packages would be extremely useful.

Thanks,
Adam.

ProGet - Filter connectors by package version

1
replies
Hi,

We are just wondering if there is any plan to be able to filter specific versions of packages from connected feeds? We have just a couple of public packages the we use, that we know have a version or two that actually aren't working properly. For example Castle.Core 2.5.2.0 (I think these version numbers are correct btw), actually contains Castle.Core 2.5.1.0 assembly and has broken builds a couple of times.

This obviously is a niche feature so we're not really expecting it to be available, but perhaps others have had the same problem, we weren't sure.

Thanks once again,
Adam.

ProGet - Download counts for local packages

1
replies
Hi,

(Apologies by the way, there are a number of questions from us as we are currently testing/implementing the product to move forward with the purchase.)

Do download counts for local packages work? We noticed when browsing the ProGet site for packages, the download counts seem to all say N/A, even when we know the packages have been downloaded and installed. This isn't really a major issue, just interesting for us to monitor what gets used.

Thanks if you get time to answer this slightly more frivolous question.

Adam.

ProGet - Feed searching is not by relevance

2
replies
We have a local nuget feed, which is then in turn connected to the public nuget feed. The results however of searching the public feed directly, and searching through the connected NuGet feed in ProGet differ significantly.

e.g. Set up the two feeds side by side in visual studio (public feed, and ProGet feed, which has the public NuGet feed connected).
Search the public feed with the term 'MVVM'. Compare that with searching through the ProGet feed for the same search term. The results for the proget feed are essentially alphabetical.

This does not appear to the be the correct kind of behaviour?

Thanks,
Adam.

NuGet Package Explorer not supported because of $inlinecount option

2
replies
NuGet Package explorer does not work with ProGet server because the OData option $inlinecount is not supported by the server. It is listed on the Nuget Codeplex site as fixed on NPE's side ( http://npe.codeplex.com/workitem/69 ), however this does not seem to be the case as I have built from the latest source and currently get the same error.

Is there any chance or plan to fix this in ProGet?

Thanks,
Adam.

Change location of _SVCTEMP path

1
replies
Is it possible to change the default location of the _SVCTMP path?

Free version deactivates itself

4
replies
Hello
I am using the free version of ProGet (1.1.2) in a disconnected environment (on a VM). Once a while, usually after restart of the VM, ProGet detects that the license is not valid anymore and I have to manually reactivate it. This is really annoying. Please help.

Create New Package/ Add to Feed not working? (proget)

3
replies
Trying to add a new package via the web interface doesn't seem to work for me.

From ProGet Home:
Click Add Package
Click Create New Package
Choose File
Upload File
Added a title
Click Add to feed - nothing happens

Manual installation of ProGet

1
replies
Our in-house IT will not support a site that requires running an installer on a production server. Is it possible to manually install ProGet as an IIS site using the full SQLServer back-end? Are there step-by-step instructions (or PS scripts) available?

Custom extension properties appearance

3
replies
Hi!

A custom extension I wrote depends on Subversion extension. Now, in order to obtain configuration settings (like username and password) one would need to call Providers_GetProvider(int? Provider_Id) (look at: http://www.inedo.com/support/sdk-reference/Inedo.BuildMaster.Data.StoredProcedures/Providers_GetProvider ) to obtain an object and then call Execute().Provider_Config to obtain configuration object.

I have checked the database table Providers and noticed that the provider I want to use has ID 11. However, as I am not that keen on binding my extension to a single subversion provider, I do wonder if there is a possibility to use a nice provider selector (like the one Subversion plugin is using) to select a provider and get id that way?

Also, I would like to get some help regarding, how to make a path selector field instead of a plain text one.

SqlException after upgrade

7
replies
Just upgraded to the latest. Now every time we run a build, we get the following exception:

System.Data.SqlClient.SqlException: Transaction (Process ID 54) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at Inedo.Data.DatabaseFactory.Inedo.Data.IDatabaseExecuter.ExecuteNonQuery(String storedProcName, DbParameter[] parameters)
at Inedo.Data.WrappedStoredProcedure.ExecuteNonQuery()
at Inedo.BuildMaster.Windows.ServiceApplication.SlimPlanActionExecuter.Action_LogReceived(Object sender, LogReceivedEventArgs e)

Stack trace:

at System.Environment.get_StackTrace()
at Inedo.BuildMaster.Diagnostics.Logger.DatabaseErrorMessenger.Inedo.BuildMaster.Diagnostics.IMessenger.Message(MessageLevels messageLevel, String messageOrFormat, Object[] args)
at Inedo.BuildMaster.Diagnostics.Logger.Message(MessageLevels messageLevel, String messageOrFormat, Object[] args)
at Inedo.BuildMaster.Windows.ServiceApplication.SlimPlanActionExecuter.Action_LogReceived(Object sender, LogReceivedEventArgs e)
at Inedo.BuildMaster.Extensibility.Actions.ActionBase.OnLogReceived(LogReceivedEventArgs e)
at Inedo.BuildMaster.Extensibility.Actions.ActionBase.Log(MessageLevels logLevel, String message)
at Inedo.BuildMaster.Extensibility.Actions.CommandLineActionBase.LogProcessOutputData(String data)
at Inedo.BuildMaster.Extensibility.Agents.Local.LocalAgent.StandardProcess.OnOutputDataReceived(ProcessDataReceivedEventArgs e)
at System.Diagnostics.AsyncStreamReader.FlushMessageQueue()
at System.Diagnostics.AsyncStreamReader.GetLinesFromStringBuilder()
at System.Diagnostics.AsyncStreamReader.ReadBuffer(IAsyncResult ar)
at System.Runtime.Remoting.Messaging.AsyncResult.SyncProcessMessage(IMessage msg)
at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
at System.Runtime.Remoting.Proxies.AgileAsyncWorkerItem.ThreadPoolCallBack(Object o)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal(_ThreadPoolWaitCallback tpWaitCallBack)
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state)

Security Exception on new install

3
replies
I installed BuildMaster yesterday and was starting to configure it and now I am getting

Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.

Exception Details: System.Security.SecurityException: User is not authorized for the selected task: Applications_ViewOverview

Its not taking me to the login page, just throwing the error.

How do I turn off token?

1
replies
How do I turn off the token requirement when pushing new Nuget packages to the server?

Integrating BuildMaster and ProGet

4
replies
My team is already using BuildMaster extensively to deploy compiled applications such as MVC web apps. Now, we want to use BuildMaster to manage releases of our back-end libraries. We want to use ProGet as our enterprise package manager and for its integration with NuGet and Visual Studio.

Am I correct in assuming that the BuildMaster NuGet extension is the link between BuildMaster and ProGet? Is there any documentation or KB articles on integrating the two applications?

Looking forward to your response and a more productive environment with your help. Thanks!

Matthew Pfluger

Installation onto existing IIS website

1
replies
Is it possible to install ProGet onto an existing IIS website instead of having it create its own website?

Getting Null Reference Exception when Running MSTests on the build

1
replies
Dear Team,

We have few steps to build and deploy the code on to the build server. And the last action group in the workflow is - 'Package and Run Tests'

It has 5 steps within it, in which the step - 'Execute MSTest Tests' fails. It runs till it is executing the test and fails the test.

Error Message:
System.NullReferenceException: Object reference not set to an instance of an object.
TestCleanup method Tests.Cleanup threw exception. System.NullReferenceException: System.NullReferenceException: Object reference not set to an instance of an object..

The above message occurs in the Log Details of the test.

The test runs normally on the local machine but throws this exception on the build server.

Could you please tell me if I am missing any settings?

Thank you so much.

config file is deleted but buildmaster doesn't think it is.

1
replies
Getting the following error when I try to create a new instance of a config file.
An instance of this file with this name already exists.
The same file already exists in production but I'
m trying to create it in staging.

Proget as source server for Silverlight libraries

1
replies
Hello, I am evaluating Proget and met a problem.

I have a nuget pack for a Silverlight lib. The pack also contains pdb and source files. After properly setting the symbol/source server, I can see the pdb are successfully downloaded, but failed to 'step in' because the source search failed.

I've tried normal .NET and everything works fine (i.e. the source can be downloaded and found by Visual Studio.)

Is it a known issue for Proget? Is there any work around?

Thanks,
Karl

BuildMaster Installation Error

1
replies
I just installed your product for the first time. I provided credentials for an existing SQL Server (2008) and told it to use IIS. It installed SQL Server Express anyway (which took a long time and should be completely unnecessary). Then after installation completed, it loaded the URL http://localhost:81/Errors/Configuration.htm which doesn't load, it just shows "This page isn't redirecting properly" (which means it's redirecting to itself).

While I expect it might be caused because the SQL credentials were tested with my current user account but it is using a service account to connect, or maybe it didn't configure IIS correctly, it seems like a fairly poor user experience for just pulling the product out of the box.

Fun Lights Out game though.

Oracle database script error

2
replies
I am trying to run a simple script in Oracle using BuildMaster. It is a one-line script that runs in SQLPlus and drops a table.

drop table t;

When I run it in BuildMaster, it returns and ORA-00911 error, invalid character.

If I remove the semicolon from the script, it runs OK in buildmaster.

We are in the process of purchasing the BuildMaster tool, but if it is not able to run our existing Oracle scripts, we can't use it for out database deployments.

Please let me know if there is a parameter I need to change or if BuildMaster is not able to run scripts with a semi-colon.

Thanks,
John Johnson
Director Database Services
RGA

ProGet: Custom LDAP support

1
replies
As I can see it is impossible to set up custom LDAP server. This feature would be very useful. Is there in your roadmap, or could it be a sponsored feature?

Does ProGet create any audit log?

4
replies
I would like to track user activity, configuration changes of ProGet. I did not find any logs generated by ProGet. Is it possible to enable logging?

ProGet behind reverse proxy

1
replies
Has anybody configured a reverse proxy in front of a ProGet feed? I have been able to get everything working except the log-in redirect and the feeds page to work.

UnauthorizedAccessException

2
replies
We are seeing a ton of the following error when we try to delete or deploy a web.config file.

An unhandled exception occurred while executing this action: System.UnauthorizedAccessException: Access to the path 'e2fbfea6-3744-4002-90ea-cf86f2a6bf3c.xml' is denied. at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive) at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive) at Inedo.BuildMaster.Util.Files.DeleteFolder(String path) at Inedo.BuildMaster.Extensibility.Agents.LocalFileOperationsExecuter.DeleteDirectories(String[] directoryNames) at Inedo.BuildMaster.Extensibility.Agents.Local.LocalAgent.Inedo.BuildMaster.Extensibility.Agents.IFileOperationsExecuter.DeleteDirectories(String[] directoryNames) at Inedo.BuildMaster.Extensibility.Actions.RemoteCommandExecution.RemoteActionExecuterBase.remoteAction_InitializeRemoteConfiguration(Object sender, RemoteConfigurationEventArgs e) at Inedo.BuildMaster.Extensibility.Actions.RemoteActionBase.<.ctor>b__0(Object sender, EventArgs e) at Inedo.BuildMaster.Extensibility.Actions.ActionBase.ExecuteOnce()

Any suggestions? The user the build service run under is a local administrator so I'm not sure why this is happening.

Using promotion environments with different rules in same application

4
replies
Hi,

I have a question regarding Workflows and Environments. But first, let me explain my situation.
We have an application we'll call ImportantApp for this example. This ImportantApp just now has release of 1.7 (Build 3). However, when still in version 1.3 (build whatever it was), management decided some features that will only be available in version 2.0. However, version 1.x must still be improved and maintained whilst development of version 2.0.

Hence, my Subversion directory looks something like this:
branches/development
branches/development_stable
trunk
tags

So basically, a trunk contains currently stable version. Development_stable branch also contains currently stable version, but all patches and new features for v1.x is developed there. Development branch is where v2.0 development is going on.

Versioning up until this point was done manually, however, now, we are migrating the process to BuildMaster.

How to go about it?

I thought I could do it with one single application and using different workflows. Unfortunately, I am not sure if actions can be different for same environment in different workflows or not.

ProGet : Proxy Authentification failed

3
replies
Hello,

my ProGet server is behing a proxy with authentification. I configure the proxy in the administration part with login and password, but, i'm not able to reach the test url with this error:
The remote server returned an error: (407) Proxy Authentication Required
Have you already encountered this error?

Thanks,
best regards

BuildMaster - AccuRev Extension

4
replies
I am curious if there are currently any issues with the AccuRev extension. We are on version v3.0.10.0 of the extension which says it is up to date. We are also using version 5.6 of AccuRev SCM.

I can configure the extension just fine and when I test the connection, it works. However, when I start creating the Action to get the latest version of the code, it errors.

I choosing Source Control -> Get Latest -> AccuRev. Once I go to browse the Source Path, it errors with the below message box. This was copied from Internet Explorer 9.

---------------------------
Message from webpage
---------------------------
An unexpected error occurred: Method not found: 'Inedo.BuildMaster.Files.ExtendedFileEntryInfo Inedo.BuildMaster.Files.DirectoryEntryBuilder.AddFile(System.String, Int64, System.DateTime)'..
---------------------------
OK
---------------------------

I am not sure if there is anything I can do to resolve this, if it is an issue with the extension or BuildMaster itself.

I appreciate any help on this. We've had this product for over a year and finally are able to start using it so I have been tasked with getting it up and running.

Thanks

BuildMaster 3.3.2 (Build 8)
AccuRev Extension 3.0.10.0
AccuRev SCM 5.6

Feed Initialization Performance

1
replies
I have a feed that includes 20GB of packages across 5500+ packages/versions. As I attempt to access the web UI for my feed in ProGet I see that the IIS process is cranking on disk IO presumably trying to index the content. This operation ends up timing out. I've noticed that with a smaller feed indexing occurs every time the IIS app pool is recycled. Is there an existing setting I can use to improve on the indexing performance? Is this on the ProGet roadmap to address?

Automatic builds with Mercurial

3
replies
I'm running into an interesting issue. We host all our source in Mercurial. I initially setup a hook on our main repository to post to BuildMaster, but that created an infinite build when we started trying to label things. So, I've tried setting up a monitoring schedule, but I'm getting the following exceptions.

Unhandled Exception: System.FormatException: Input string was not in a correct format.

Server stack trace:
at Inedo.BuildMaster.Util.Persistence.ExecuteMethodOnXmlPersistedObject(String objectXml, String methodName, Object[] parameters)
at Inedo.BuildMaster.Extensibility.Agents.Local.LocalAgent.Inedo.BuildMaster.Extensibility.Agents.IPersistedObjectExecuter.ExecuteMethodOnXmlPersistedObject(String objectXml, String methodName, Object[] parameters)
at Inedo.BuildMaster.Proxies.AgentProxy`1.ProxyExecute(IMethodCallMessage methodCallMessage)

Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Inedo.BuildMaster.Extensibility.Providers.SourceControl.IRevisionProvider.GetCurrentRevision(String path)
at Inedo.BuildMaster.Windows.ServiceApplication.ScheduleExecuter.ExecuteScmTriggered(Int32 buildScheduleId, Int32 applicationId, Int32 sourceControlProviderId, String path, String applicationName, Int32 quietPeriodMinutes)
at Inedo.BuildMaster.Windows.ServiceApplication.ScheduleExecuter.<Execute>b__8(Object args)




Server stack trace:
at Inedo.BuildMaster.Util.Persistence.ExecuteMethodOnXmlPersistedObject(String objectXml, String methodName, Object[] parameters)
at Inedo.BuildMaster.Extensibility.Agents.Local.LocalAgent.Inedo.BuildMaster.Extensibility.Agents.IPersistedObjectExecuter.ExecuteMethodOnXmlPersistedObject(String objectXml, String methodName, Object[] parameters)
at Inedo.BuildMaster.Proxies.AgentProxy`1.ProxyExecute(IMethodCallMessage methodCallMessage)

Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Inedo.BuildMaster.Extensibility.Providers.SourceControl.IRevisionProvider.GetCurrentRevision(String path)
at Inedo.BuildMaster.Windows.ServiceApplication.ScheduleExecuter.ExecuteScmTriggered(Int32 buildScheduleId, Int32 applicationId, Int32 sourceControlProviderId, String path, String applicationName, Int32 quietPeriodMinutes)
at Inedo.BuildMaster.Windows.ServiceApplication.ScheduleExecuter.<Execute>b__8(Object args)


Any suggestions?

Unhandled Exception SharpSvn.SVnRepositoryIOException

1
replies
I have a poll setup to check the SVN server at regular intervals in order to initiate automatic builds.

Unfortunately a side effect of the way the Hyper-V hosts are backed up is that the server temporarily loses network connection at about 1 in the morning.

As a result buildmaster logs are regularly filled up with the messages at the bottom of this post.

Could a configuration option be added into the plugin to allow these messages to be muted, or configured to mute unless the problem persists for longer than x minutes?


Unhandled Exception: SharpSvn.SvnRepositoryIOException: OPTIONS of 'xxx': could not connect to server (xxx)

Server stack trace:
at Inedo.BuildMaster.Util.Persistence.ExecuteMethodOnXmlPersistedObject(String objectXml, String methodName, Object[] parameters)
at Inedo.BuildMaster.Extensibility.Agents.Local.LocalAgent.Inedo.BuildMaster.Extensibility.Agents.IPersistedObjectExecuter.ExecuteMethodOnXmlPersistedObject(String objectXml, String methodName, Object[] parameters)
at Inedo.BuildMaster.Proxies.AgentProxy`1.ProxyExecute(IMethodCallMessage methodCallMessage)

Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Inedo.BuildMaster.Extensibility.Providers.SourceControl.IRevisionProvider.GetCurrentRevision(String path)
at Inedo.BuildMaster.Windows.ServiceApplication.ScheduleExecuter.ExecuteScmTriggered(Int32 buildScheduleId, Int32 applicationId, Int32 sourceControlProviderId, String path, String applicationName, Int32 quietPeriodMinutes)
at Inedo.BuildMaster.Windows.ServiceApplication.ScheduleExecuter.<Execute>b__8(Object args)

Very slow when creating an artifact

2
replies
I am creating an artifact. During the phase of transferring the file to the artifact libary, it seem to take a very long time (10 minutes to copy from build machine to network drive)

When i try and copy the artifact to and from the build machine and network drive manually it seems to copy in about 90 seconds.

The artficat is about 87 MB.

Is this a know issue with build masters deploy artifact action?

Delete Deployable

2
replies
Hi i cant seem to delete a deployable asscocaited with my application. I get the following error:


50000`16`1`TR__PlanActionGroups__ValidateSequence`28`An invalid PlanActionGroup_Sequence was provided for the PlanActionGroup.


SqlException (0x80131904): 50000`16`1`TR__PlanActionGroups__ValidateSequence`28`An invalid PlanActionGroup_Sequence was provided for the PlanActionGroup.]
System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) +1950890
System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +4846875
System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +194
System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +2392
System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +204
System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) +954
System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +162
System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) +175
System.Data.SqlClient.SqlCommand.ExecuteNonQuery() +137
Inedo.BuildMaster.Data.StandardDataFactory.ExecuteNonQuery(String storedProcName, DbParameter[] parameters) +122
Inedo.BuildMaster.Data.DataFactory.Inedo.Data.IDataFactory.ExecuteNonQuery(String storedProcName, DbParameter[] parameters) +10
Inedo.Data.WrappedStoredProc.ExecuteNonQuery() +71
Inedo.BuildMaster.Web.WebApplication.Applications.Deployables.DeleteDeployable.<CreateChildControls>b__3(Object s, EventArgs e) +44
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +111
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +110
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565

Error connecting to issue tracker

5
replies
When trying to connect to an issue tracker (Bugzilla) from BM (v3.2.4) I get the following error message:
An error occurred while loading this provider: '--' is an unexpected token. The expected token is '>'. Line 31, position 3.
The Bugzilla extension (v3.0.6.0) is installed and current.

Connection Strings

2
replies
We currently use "cliconfg.exe" to maintain our SQL server aliases on each environment.

Thus our connection string can be uniform across environments, e.g. server=TESTDBSERVER;database=Test;uid=sa;pwd=!@#$%A1

When setting up connection strings with BuildMaster though, the connection string is tightly coupled with an environment. Thus I am forced to create a provider for every environment.

Is there a way to decouple this?

P.S. We are only evaluating BuildMaster currently, but as a POC we want to proof we wouldn't need an agent on all database boxes, but can leverage SQL Server Client Network Utility.

Filename Wildcards

1
replies
Hi

We have a variable, used in our deployment plans, to identify individual assemblies to be copied to servers (when patching a release). This works fine is a wildcard can be used to identify the file(s). However, sometimes, we need to deploy multiple files which one wildcard (apart from *.dll) will not suffice.

Is it possible to append multiple wildcards together? For example, with a semi-colon or comma seperator?

Thanks.

Unable to create a build

3
replies
Hi,

I'm getting the following error when creating a new build:

System.ArgumentException: String was not recognized as a valid DateTime.Couldn't store <2012/10/15 10:36:10:AM> in DATE Column. Expected type is DateTime. ---> System.FormatException: String was not recognized as a valid DateTime.

My deployment plan has one action which is to execute database change scripts. The change script executed without errors in the change script window.

Call stack info:
at System.Environment.get_StackTrace()
at Inedo.BuildMaster.Diagnostics.Logger.DatabaseErrorMessenger.Inedo.BuildMaster.Diagnostics.IMessenger.Message(MessageLevels messageLevel, String messageOrFormat, Object[] args)
at Inedo.BuildMaster.Diagnostics.Logger.Message(MessageLevels messageLevel, String messageOrFormat, Object[] args)
at Inedo.BuildMaster.Windows.ServiceApplication.PlanExecuter.executionThread_Execute(Object execIdObj)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart(Object obj)

Message:
System.ArgumentException: String was not recognized as a valid DateTime.Couldn't store <2012/10/15 10:36:10:AM> in DATE Column. Expected type is DateTime. ---> System.FormatException: String was not recognized as a valid DateTime.
at System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles)
at System.String.System.IConvertible.ToDateTime(IFormatProvider provider)
at System.Data.Common.DateTimeStorage.Set(Int32 record, Object value)
at System.Data.DataColumn.set_Item(Int32 record, Object value)
--- End of inner exception stack trace ---
at System.Data.DataColumn.set_Item(Int32 record, Object value)
at System.Data.DataRow.set_Item(DataColumn column, Object value)
at Inedo.BuildMaster.Templating.ActionPropertiesVariableReplacer.ToDataContext()
at Inedo.BuildMaster.Templating.ActionPropertiesVariableReplacer.ApplyVariableReplacementsToActionProperties(ActionBase action)
at Inedo.BuildMaster.Windows.ServiceApplication.PlanActionExecuter..ctor(DataRow buildExecActionExRow, ExecutionContext execContext)
at Inedo.BuildMaster.Windows.ServiceApplication.PlanExecuter.executionThread_Execute(Object execIdObj)

Please help as I cannot see what I'm doing wrong.

Thanks!

Release/Build History

2
replies
How do we limit the amount of history (stored artifacts etc) BuildMaster stores?

Due to the vast levels we currently have, we need to store them on a large network drive but this has a negative effect on build performance.

Please advise.

Pull-based agent

1
replies
We are trying out BuildMaster, due to the nature of our Network Architecture, we are dealing with a few firewalls that prevent us from using a Push Approach, so the build master sends commands to the agent. Our Company requires a Pull Approach where the Agent constantly asks the service if there are new commands that it needs to run.

Please let me know if you can solve this?

TFS repository triggers, exhausting available socket connections

6
replies
On a daily basis, we receive these errors, it takes about 24 hours to build up enough socket connections to exhaust them. They are all from the build server to our tfs server.

Posted is an example of the action error:

Initializing Action...
RemoteAction Initialization Complete:
Temp Directory: C:\BuildMaster\_AGTTMP\_A34\_S0\TMP
Source Directory: C:\BuildMaster\_AGTTMP\_A34\_S0\WRK
Target Directory: [redacted]
Server: [redacted] (Id: 40)
Initialization Complete. Executing...
Executing Get Latest Command
An unhandled exception occurred while executing this action: System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception) --- End of inner exception stack trace --- at Inedo.BuildMaster.Extensibility.Actions.RemoteCommandExecution.RemoteActionExecuterBase.remoteAction_RemoteCommand(Object sender, RemoteCommandEventArgs e) at Inedo.BuildMaster.Extensibility.Actions.RemoteActionBase.ExecuteRemoteCommand(String name, String[] args) at Inedo.BuildMaster.Extensibility.Actions.SourceControl.GetLatestAction.Execute() at Inedo.BuildMaster.Extensibility.Actions.ActionBase.ExecuteOnce()

An example of the buildmaster error log entry:

Unhandled Exception: Microsoft.TeamFoundation.TeamFoundationServiceUnavailableException: Team Foundation services are not available from server http://sdvtfs1:8080/.
Technical information (for administrator):
Unable to connect to the remote server

Error Running Database Change Scripts

2
replies
I am getting the following error with executing database change scripts. My database connections are set, active, tested, and initialized. I tested executing a script through the SQL Change Scripts window, and that also worked. Any suggestions on how to proceed?

Thanks,
Matthew

An unhandled exception occurred while executing this action: System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. Parameter name: providerId at Inedo.BuildMaster.Util.Providers.CreateProviderFromId(Int32 providerId, Boolean createProxy) at Inedo.BuildMaster.Util.Actions.<>c__DisplayClass13.<GetAgentInterfacesRequiredForAction>b__11(Type t) at Inedo.Linq.Enumerable.<>c__DisplayClass21`2.<Select>b__20(TSource item, Int32 i) at Inedo.Linq.Enumerable.<SelectYield>d__23`2.MoveNext() at Inedo.Linq.Enumerable.FirstImpl[TSource](IEnumerable`1 source, Func`1 empty) at Inedo.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at Inedo.BuildMaster.Util.Actions.GetAgentInterfacesRequiredForAction(ActionBase action) at Inedo.BuildMaster.Extensibility.Actions.RemoteCommandExecution.RemoteActionExecuterBase.remoteAction_InitializeRemoteConfiguration(Object sender, RemoteConfigurationEventArgs e) at Inedo.BuildMaster.Extensibility.Actions.RemoteActionBase.<.ctor>b__0(Object sender, EventArgs e) at System.EventHandler.Invoke(Object sender, EventArgs e) at Inedo.BuildMaster.Extensibility.Actions.ActionBase.ExecuteOnce()

Quality Center

1
replies
Hello,
Do you have any plans to have integration with HP's Quality Center (formerly Test Director, also called Application Lifecycle management (ALM)) in the near future?
Thank you
Fred

Rename a CONFIG File

2
replies
Can I Rename a CONFIG File? The namespace of one of our projects has changed, and this will require a rename to one of our CONFIG files. How should I do this?
I'd like to not lose the CONFIG file history.

Thanks,
Matthew

Cannot view all AD Accounts in Users View

1
replies
I'm trying to add users to our BuildMaster installation. I went to the Admin page and clicked "User Accounts & Log-Ins". We are using LDAP integration. Since we are a large corporation, we have thousands of AD accounts and groups in our domain. I cannot view all of them from the Users page. The table of users stops at about 1000. I've also noticed that not all our AD Groups are displayed on the Edit User page.

Now, I was able to manually build the Edit User hyperlink to be able to add the User I need, but I wanted to let you know that this is a challenge for us. I'm not sure how you would sole this (perhaps with some search functionality instead of display all results of a query), but I'd like to see some improved LDAP / AD integration features in a future release.

Thanks very much, and have a great day.

Matthew Pfluger

Add Environment Step to Workflow allows Edit to Config Files

3
replies
I just added a step to one of my project's workflows (DEV) as we realized we needed a new environment. I then tried to update the CONFIG files to add the text for the new environment, and I found I could not add another instance to the CONFIG file. What do you think of adding a feature to allow another instance to the CONFIG files? That way, I don't have to create a new CONFIG file and lose the history of the new one. I'd really rather not manually change the database...

Thanks,
Matthew

can't view application from outside localhost

1
replies
Hello,
I have BM installed and can see the application just fine when I'm rdp'ed into the server and in the url field I type in http://localhost/Applications
However outside that server if I do http://10.0.4.117/Applications and I just get a white page.

Change an Application's Release Numbering Scheme

3
replies
We recently established a standard in our organization that custom developed applications will follow a Release Numbering Scheme of Major.Minor.Revision. We currently have a few projects in BuildMaster where the Release Numbering Scheme is set to Major.Minor. Can I change the scheme for those projects, or would I need to create new ones?

redmine as issue tracker?

2
replies
We use redmine as our company wide issue tracker. I saw its not on your list of currently supported issue trackers. Is it possible to integrate with it or for me to simply do it myself?

Any way to build a .NET solution just as how it builds in Visual Studio ?

6
replies
Hi,

I have my solution with more than 100 projects. I ideally would like to do something as what my current build scripts or VS does. Currently, I just build the solution file and each projects outputs to its respective 'bin\Release' folder. I then simply package the executables based on their files in the output dir which is bin\Release for each project.

I am trying to achieve the same with BM but could not do this in the same way how I can do this in VS. In BM, if I build my solution with any action (either build .Net project or MSBuild action), always the OutDir defined in BM, makes all the projects' output go in to the same, single OutDir folder. All projets in the entire solution build in to single output folder. So, ideally, to prepare the deployable components, I first need to build the solution (to check for any build errors) and then have to individually build projects, so I can sepcify individual output folder for each build action !

This seems so basic but may be I am missing something and could not get to meaningfully build my solution.

Is this possible at all ? Any help is appreciated.

Thanks.

.NET : Unable to build 'X86' and 'Any CPU' projects together

1
replies
Hi,

I am evaluating BM for my team and having no way to get through this.

I build a exe. project (using Build .NET Project action or MSBuild action) and this is set up as an X86 project (Target Platforms - X86)since it contains some references to unmanaged code and does some Pinvoke stuff. This project refers to other projects which are built with 'Any Cpu' settings. (Target Platform- Any Cpu).

When I build this X86 executable project, I get an eror as 'Output path is not defined for all configruations in the the 'Any Cpu' project. No output path for Release and X86' in the referenced project. '

It works fine when I build the solution in VS. But with BM, again, I cannot build solution because I just cannot set bin\debug of all projects as the target dirs of respective projects and hence all the projects' output to a fixed single target dir folder. Hence, I had to go with building projects that need to be deployed but in this case stuck up with this output path issue !

How do I get around this. I am really stuck up having tried several options to build this project !

Any help is appreciated.

Unhandled Error Page on Clicking - Manage Release\Create New Release

3
replies
Hello,

Our company already has few licenses and I am evaluating BM for my team.

I downloaded and installed (3.2.3, Build 63) the latest version and this seem to not allow me to create or manage releases. I get a nastry error with an unhanlded exception page. Details below. Can someone please let me know what to be fixed ASAP please.

----------------------------------------------
Server Error in '/' Application.

Object reference not set to an instance of an object.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
Inedo.BuildMaster.Web.Controls.AsynchBlock.getEventHandler(Control fromControl, String eventName) +174
Inedo.BuildMaster.Web.Controls.AsynchBlock.OnLoad(EventArgs e) +151
System.Web.UI.Control.LoadRecursive() +74
System.Web.UI.Control.LoadRecursive() +146
System.Web.UI.Control.LoadRecursive() +146
System.Web.UI.Control.LoadRecursive() +146
System.Web.UI.Control.LoadRecursive() +146
System.Web.UI.Control.LoadRecursive() +146
System.Web.UI.Control.LoadRecursive() +146
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272
---------------------------------------

How do I create Config files using ClickOnce process

1
replies
I have an application that I am building using "Prepare ClickOnce Application" and "Transfer Files" Actions.

I am trying to created instance config files but I get the following error when I click on "Manage Configuration Files".

"You must create a deployable before configuration files can be edited."

I am using version 3.2.2 (Build 23)

Proget - Security Question

3
replies
Hi,

I have a question about proget.

Does it allow to secure Feed with user/password ? (like in TeamCity, when someone is trying to list or download packages from NuGet using NuGet Gui or Conrole they are asked for password (it is simple auth) ?

Choose which target server and database to deploy a release

1
replies
We are evaluating using BuildMaster for our team and have some questions when comparing it to our current automated deployment approach.

We would typically like to configure a deployment plan that is consistent (i.e. the same) for a number of separate environments. When we deploy an application we would typically like to select which database and target server we would like to deploy to, and have the deployment complete the same steps, but just change the target server and database connection.

It appears that with BuildMaster we would have the following limitations:

1) We would need to setup a separate deployment plan for each server that we want to target.
2) We could not share/link action groups because the actions within the group would be run on a specific target server, not parameterized in some way.
3) We would need to copy an action group to share the same actions for a separate target server, then edit each action in the group to change the target server (note that some actions would likely run on a build server rather than a target server too).

With a lot of servers involved, if these steps are required it would make it difficult to manage.

An alternative would seem to be that if we could tie the selection of a target server and database connection to variables most of these limitations would be eliminated.

Are we missing something when considering BuildMaster's capabilities? If not, would use of variables for changing the target server or database connection be something that may be included in a future release perhaps?

Thanks!

Creating a custom Database extension

2
replies
Is there an example somewhere of how to create an extension Database action? We have been able to create and install a C# component to implement an action, but when we attempt to add a new action it first prompts to select a DB connection, then displays 2 Extension Properties: DatabaseProviderId and ProviderId (which are initially empty).

We would have expected that the Action Form would have provided a selection option for the DB connection, but perhaps we're missing a step to define the contents of the customized Action Form?

Any help would be appreciated!

Backup PROD database to DEV or TEST

2
replies
I would like to automate the step of backing up our Production database and restoring it to my Test database so I can test running the change scripts over production data. There is no concern for prod data in a test environment.

However, I can't figure out how to connect to the Prod database from the TEST or DEV environment deployment plans without creating another connection. Is there a better way to do this?

Thanks,
Matthew

ProGet search problem

6
replies
I am using ProGet 1.08. I noticed that some of the packages which are displayed in packages list (using the web interface) are not found when searching for them.
After investigation a little further, I found out that the issue only occurs when the .nupkg file is structured such that in the "lib" folder, the DLLs are located in sub-folder named "net35". The search works fine when for example the sub-folder name is "3.5" or "net40"

Feature Request: Comments Field for Config File Deployment

3
replies
My company would like to use BuildMaster to audit configuration file changes. We have a legacy external system that logs all our Change Controls, and I'd like to reference that system using a comment each time I deploy a Change Control. This field would be similar to the comments field used elsewhere in BuildMaster like on builds.

Is there a better place to make this request?

ClickOnce installation/signing problem

2
replies
Version 3.2.2 (Build 23)


I am trying to get ClickOnce published application using your MiniCalculator example, but it just doesn't work out of the box.

First of all, by default it can't find MiniCalc.pfx, so it doesn't sign anything (mage.exe says "File not found - "MiniCalc.pfx"), and I get the following error if I try to install the application:

***
+ Application manifest has either a different computed hash than the one specified or no hash specified at all.
+ File, MiniCalc.exe.manifest, has a different computed hash than specified in manifest.
***


Second, if I specify just certificate hash without certificate's name and password (both fields are empty and the check box is unchecked), then mage.exe generates "Out of range exception".


Third, if I specify local certificate path (created manually from VS) and password, then mage.exe finally says "MiniCalc.exe.manifest successfully signed" but installation of the application still fails with the same error (see above).


Am I missing something simple?
Are you planning to improve ClickOnce expirience?

Cache packages doesn't seem to work

2
replies
In ProGet 1.0.7 (build 7) the Cache Packages option doesn't seem to work. Pre-caching packages works fine, and they get stored in C:\ProgramData\ProGet\Packages\Default ok, but for all packages not explicitly pre-cached, ProGet will retrieve the package from the connector and not save it.

Is this normal?

Triggering multiple

4
replies
Hi

What we are trying to do is kick off two other application , a web service app and then a web app.
If we run the two apps individual , ie create release, build ext and promote .. All works fine.
If we create a new app with the same workflow steps (internal, stage, prod)
• In app for Internal we have two new “Create new build actions” for the web service and web app ..
• On the second stage we have two promote build actions for the web service / web site . ie from internal to stage

When we run the new app , ie create release/ build.. the first stage passes ie build to internal, then if we promote we see the web service build and then get a strange error

Build 1 for Nebula And Members 4.4 (27/07/2012 1:51:06 AM)
Action Group 1: Deploy To Stage
Action 1: Force Build in Nebula from Internal to Staging.
Preparing remote servers for execution...
Preparation complete.
Initializing Action...
Initialization Complete. Executing...
Build #52 of Nebula (4.24) is currently in Staging; expected Internal
Execution Complete. Finalizing...
Finalization Complete.

Are we doing something wrong , is this supported ?

Deploying Multiple Artifacts in one Action Group

2
replies
Managing our deployment scenario would be greatly enhanced if we could deploy all Artifacts in one Action Group. We have this working in another deployment plan but not in the one I'm currently working on.

If I select the 'All Deployables' option I can't deploy any. I get an 'Artifact not found' error. However, the artifact IS there and I can see it and open it from the build's information screen.

What could be causing this?

ProGet - feed search returns wrong results

7
replies
Hello,

I am currently evaluation ProGet.
I have a feed which contains the RX Experimental packages, named Rx_Experimental-Main.1.1.11111

When I search for the package using ProGet web interface, the packages is not found. However I am able to browse to it.

Search for other packages seam to work fine.

Simultaneous Builds for Application

7
replies
We need to have two workflows for our app. One for the main, full, deployment through Dev, UAT, Staging, Production and the other for individual assembly patching.

I've developed a patching workflow which, for maintainability, uses the same integration deployment plan as the main workflow. This works fine generally as an environment variable keeps the artifacts seperated. However, the E:\BuildMaster\_SVCTMP\_A3 folder is currently being used by both workflows which is causing missing file exceptions etc.

How can I force the patching workflow to use a seperate set of folders? Is the 'A' of _A3 related to the app instance? If so, I guess we'll have to not build simutaneously.

Can I see who deleted an automatic schedule?

1
replies
Is there a way to see if someone deleted an automatic build schedule... such as an SCM-triggered build?

Builds failing with imported deployable

5
replies
The following error message occurs in any application we build that uses the imported deployable:

Unable to cast object of type 'System.DBNull' to type 'System.String'.

Ideas?

How do I get a free license for usage in disconnected environment?

4
replies
I would like to try the free version in an internet- disconnected environment.
How do I proceed?

How to configure github with buildmaster?

1
replies
Hi,

I'm trying to configure buildmaster to use a github account for source code access, but it keeps loading without error messages, do you have any suggestions for that?

I'm guessing it's probably because of a missing SSH key or something like that. I tried to configure the buildmaster service to run under the Administrator account (which has ssh configured for github), but the same problem.

Hope you guys have any hints, thanks a lot in advance!

Michael

3.2 upgrade problems

1
replies
I just upgraded to 3.2 and now when I click BuildMaster all I get is the is an empty localhost at the url.

It cannot find the BM website.

How do I get Buildmaster to Merge in TFS

1
replies
I see the Buildmaster Action to Branch Sourcecontrol, but how do I get it to Merge?

We want to get the code from our dev branch for continuous integration. We want to add a label to source control each time we get an integration build.

When Integration testing is complete, we want to get the code from the Dev branch as of the last label from buildmaster and Merge that code into the Production branch. I cannot see the Action to Merge branches.

[ProGet] Pushing a package to a feed using the command line

17
replies
I am trying to push a package to a feed via the command line with a nuget.exe v2.0.

.\nuget push ..\build\MyPackage.1.0.0.0.nupkg -ApiKey e08c2ce5-9a2c-4382-89db-06d08a90fe37 -Source http://nuget.mycompany.com/nuget/MyFeed/

NuGet.exe returns with the error messages:
"Failed to process request. 'OK'."

Any ideas?

How do I publish Click Once through Buildmaster?

1
replies
I have used the Prepare ClickOnce segment. However, How do I then publish the ClickOnce project.

Cannot install ProGet free or trial

4
replies
I am attempting to evaluate ProGet however the installer has free and trial options greyed out and unclickable.

Additionally, when I install the Enterprise option, it then (naturally) complains about the license being invalid because I did not add one.

On the MyIndeo site, there are options to obtain the BuildMaster free and trial licenses but no options exist for ProGet.

I really want to be able to evaluate this product as there is nothing else really suitable.

Undo Change Control Execution

1
replies
I accidentally clicked on "Perform in Prod" when I should have clicked on "Perform in Test," and now it appears that I went from Dev to Prod with a Change Control. Is there any way to revoke a Change Control execution?

I realize that this may go against the business logic of change control history, but I made a mistake I want to correct. Any ideas?

Build Status

1
replies
How to query Build status from a C# console application

Are there (near-term) plans to support TFS2012 for source control in BuildMaster?

5
replies
A few days ago, Microsoft released the RC (Release Candidate) of TFS 2012, with a "go-live" license. BuildMaster supports TFS2010 for source control.

Are there plans in the near future to add support for TFS2012RC?

Missing Change Controls from Config menu

1
replies
We just updated to BuildMaster version 3.1.4 (Build 20), and I no longer see the Change Controls in the Config menu. Am I missing something?

Thanks,
Matthew

Is there a known issue with layout in Chrome?

1
replies
I just upgraded to version 3.1.4 (pi for the win!), and have a layout issue in Chrome. If I go to the "Manage Deployment Plans" section, I see only one tab (with a tiny ridge behind it). If I click that ridge I get one of the other deployments, but not all 3.

Known issue? Or something with my machine? It works fine in Firefox and IE.

Images not appearing with IIS 5 hosted BuildMaster website

2
replies
Because I couldn't get BuildMaster's internal webserver to serve requests from outside the machine, I hosted the website in IIS's default website.
This works like a charm (although I do have to remove a lot in the web.config from the Virtual Folders that are also running in that website... I'm running on a Windows XP Pro box, which only supports one website...)

Anyway, it to little or no effort to get that stuff running. There is just one issue I can't seem to get fixed.
When browsing the website a large number of images don't appear, leaving a red cross in Internet Explorer, messing up the layout and also prohibiting me from downloading buildartifacts from the website.

Here is a snippet from the webserver's log showing the images failing to be served:
06:37:48 192.168.1.100 GET /0x44/InedoIcons/Inedo.Web.Controls.IconImage/ProcessImageRequest/Virtuallnk/16x16/Window.png 404
06:37:48 192.168.1.100 GET /0x44/InedoIcons/Inedo.Web.Controls.IconImage/ProcessImageRequest/Virtuallnk/16x16/Collapse+Up.png 404
06:37:48 192.168.1.100 GET /0x44/InedoIcons/Inedo.Web.Controls.IconImage/ProcessImageRequest/Virtuallnk/16x16/Window.png 404
06:37:48 192.168.1.100 GET /0x44/InedoIcons/Inedo.Web.Controls.IconImage/ProcessImageRequest/Virtuallnk/16x16/Collapse+Down.png 404
06:37:48 192.168.1.100 GET /0x44/InedoIcons/Inedo.Web.Controls.IconImage/ProcessImageRequest/Virtuallnk/16x16/Collapse+Up.png 404
06:37:48 192.168.1.100 GET /0x44/InedoIcons/Inedo.Web.Controls.IconImage/ProcessImageRequest/F3Silk/16x16/comment.png 404

It seems that requests starting with /0X44/ are to be routed to a number of handlers and this just seems to fail.

What can I do to fix this or diagnose the problem?

Thanks,
// Vincent

Issues with Cyrillic characters support

1
replies
I'm evaluating BuildMaster 3.1.4 (Build 20) and have
issues with cyrillic characters in application names, paths etc. I got ????? instead of cyrillic. I guess this is because of sql db collaction which is SQL_Latin1_General_CP1_CI_AS. I was tried to change it to Cyrillic_General_CI_AS, but no luck, got objects dependency error like "The object 'CK__PlanActions_Retry_Count' is dependent on database collation. The database collation cannot be changed if a schema-bound object depends on it. Remove the dependencies on the database collation and then retry the operation."

Any plans to support non latin characters in the future? or maybe be a quick fix is already available for described issue?

Thank you in advance

Imported Deployables

1
replies
We have two sets of imported deployables...when I use %refrelno%.%refbldno% the first deployable gets 7.8.7. All good.

For the second deployable, it uses 7.8.7 again, even though that deployable is at 1.0.3.

How do we get BM to differentiate and get the right release/build nums for deployables?

Violation of PRIMARY KEY constraint 'PK__BuildTestResults' error when running MSTest action

1
replies
We have tests running with MSTest.exe via BuildMaster. As test file we specify dll that contains some unit tests. In the log we get the information that all tests pass and the following error message:

An unhandled exception occurred while executing this action: System.Data.SqlClient.SqlException: Violation of PRIMARY KEY constraint 'PK__BuildTestResults'. Cannot insert duplicate key in object 'dbo.BuildTestResults'. The statement has been terminated. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at Inedo.BuildMaster.Data.StandardDataFactory.ExecuteNonQuery(String storedProcName, DbParameter[] parameters) at Inedo.BuildMaster.Data.DataFactory.Inedo.Data.IDataFactory.ExecuteNonQuery(String storedProcName, DbParameter[] parameters) at Inedo.Data.WrappedStoredProc.ExecuteNonQuery() at Inedo.BuildMaster.Extensibility.Actions.Testing.UnitTestActionBase.Execute() at Inedo.BuildMaster.Extensibility.Actions.ActionBase.ParamlessExecute()

We also use MSTest action with other dlls in BuildMaster build plan and they execute with no errors.

Thanks

Trigger builds when changes are detected in source path

1
replies
G'day,

Is it possible to trigger builds with BuildMaster when Subversion repository path revision change is detected?

Similarly as in Cruise control .NET.

Best regards
Tomasz Zeman

Deploybles in other applications

1
replies
Is there any way i could access the build artifact from another application?

BuildMaster installation issue

1
replies
When installation BuildMaster, I get an error in the installation log that reads:

Installing Service...
Service install failed with exit code -532459699

What does this mean?

Confusion of terms...

1
replies
What is the difference among Environments, Servers, Server Groups, and Agents?

What components make up BuildMaster?

1
replies
I know that BuildMaster is navigated and managed through a web application, but there has to be more to it that just that. What other components make up BuildMaster?

Can BuildMaster create an SCM label as part of a workflow?

1
replies
Can BuildMaster create a label (or tag) as part of a workflow? For example, for a deployment to a specific environment. I would ideally like to label with the current release and build number.

Can I use BuildMaster as a Continuous Integration tool?

1
replies
Can I use BuildMaster as a replacement for my current continuous integration tool?

Is BuildMaster a build tool?

1
replies
The title says it all: is BuildMaster a build tool?

BuildMaster deployments vs. Rails Migration

1
replies
How does BuildMaster compare to the Rails Migration concept?

BuildMaster user licensing

1
replies
Is BuildMaster per-user licensing based on concurrent users or user seats?

Agent alternatives

2
replies
The BuildMaster agents are required in order to add servers to the configuration. I'm in a position where I'm not authorized to install any software on the servers I need to build for and deploy to. Is there a way around this?

Agent is locked error, help!

1
replies
My automated deploy immediately fails with an "Agent is locked" error. How can I fix this?

Windows Installer during BuildMaster installation

1
replies
Why does the BuildMaster installer tell me that Windows Installer is already active when I am not installing anything else?

Activation error message

1
replies
This message is coming up when the website renders. If I close out and try to go to other pages too, it is not rendering the page and the same message comes up.

Nightly builds are no longer running

1
replies
For some reason, the nightly builds for some applications have stopped running. Why?

Is it possible to delete a deployment plan?

1
replies
Think the title says it all. Is it possible to delete a deployment plan? If so, how?

Assembly Signing

2
replies
How do I sign my .NET assembly in BuildMaster v3?

LDAP Settings

3
replies
After an upgrade, our LDAP stopped working. We reverted back to built-in for now.

In the database, I note that the searchrootpath is blank. I think thats why it can't find anything for users. What should that format be??

Properties SearchRootPath=""

Trigger Builds

1
replies
Please note that with the trigger builds set, in the automatic builds overview screen you are outputting the password right on the screen which I think is not the desired behavior.

I don't need anyone seeing my password that is reviewing it.

Running DB Scripts

1
replies
We have an 'Execute Database Scripts' Action which picks up all scripts in the source folder with a search filter of '*.sql'.

This all works fine apart from the log claims to run each script everytime (which is the behaviour we want) but, in fact, it seems each script is run once and only once!

No matter how many time the deployment occurs, a script never seems to run again - regardless of what the log says.

Could you please confirm the expected behaviour here and how we can get our desired functionality?

Thanks.

PS. This is affecting a large project which is already in production and is relying on Build Master to simplify all aspects of deployments inclusing DB scripts.

Promoting builds outside of the UI. Perhaps using the API?

6
replies
We're looking for a way to signal a build promotion via some means external to buildmaster's deploy plans. Anything that can be run with command line or powershell will do.
Last we left off, we looked into loading the buildmaster API into powershell to see if it had any such functions, but we weren't familiar enough with that, and we couldn't quite figure it out. We're also looking into using the database's stored procedure, Builds_PromoteBuild, to accomplish this.
If there's a standard way of handling this situation, please let me know. If there's anything I should specify, please let me know, as well.

3.06 - 3.1.1 Upgrade Fails; Buildmaster Offline

1
replies
We have installed the upgrade, all went fine until we logged in.

We are setup with LDAP for authentication. All browsers say a version of this:

The page isn't redirecting properly

Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

This problem can sometimes be caused by disabling or refusing to accept cookies.

Upload nested directories to S3 bucket?

3
replies
Is it possible to upload nested directories to an S3 bucket? I have the following tree:

\media
\media\video
\media\audio

etc.

And want to upload all of them at once. Using a file mask of *.* or *. doesn't seem to work.

Error in BuildMaster logs (v3.0.6)

4
replies
Message Guid 3f26b526-fc88-48d1-97d6-abf56eeca3ff
Logged Date 22/03/2012 15:29:02
Severity 30
Exception Type System.NullReferenceException
Stack Trace at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.Load(AssemblyName assemblyRef)
at Inedo.BuildMaster.Util.Persistence.DeSerializeFromPersistedObjectXml(String objXml)
at Inedo.BuildMaster.Util.Providers.CreateProviderFromId(Int32 providerId, Boolean createProxy)
at Inedo.BuildMaster.Util.Providers.CreateProviderFromId(Int32 providerId)
at Inedo.BuildMaster.Windows.ServiceApplication.ScheduleExecuter.ExecuteScmTriggered(Int32 buildScheduleId, Int32 applicationId, Int32 sourceControlProviderId, String path, String applicationName, Int32 quietPeriodMinutes)
at Inedo.BuildMaster.Windows.ServiceApplication.ScheduleExecuter.<Execute>b__7(Object args)
Message Object reference not set to an instance of an object.

Update from 2.7.6 to 3.0.5 failed

2
replies
When trying to update to 3.0.5 of BuildMaster the installation failed when trying to backup the DB (connection timeout was the error). Unfortunately it left our system in a corrupted state.

We restored the BuilMaster folder from backup and all seems okay but when I try to run the install again it only gives me 'uninstall' option and says 3.0.5 is the installed version.

Presumably this is a setting in the registry but I have no access to this as I'm not local admin on the machine.

Please advise.

Customizing manifest settings in ClickOnce

0
replies
Is there a way to set ClickOnce manifest settings with the Prepare ClickOnce Application action? In particular, I want to set deployment | trustURLParameters to true.

I tried setting the value in the manifest after the Prepare ClickOnce Application action, but of course that failed because the signing was no longer valid.

BuildMaster 3.0.5 (Build 6)

Thanks.

S3 extension with multiple accounts

1
replies
Is it possible to get the S3 extension to be able to use/choose between more than one AWS user? I like the current form and it accomplishes most of my needs but it would be more useful for it to have access to more than one account.

Distributed MSTest actions

2
replies
I am running an automated regression based on promoting a build to a new environment; in this case from Dev to QA. Our unit tests run fine as they are housed on the build server, but the distributed tests are causing an issue with integration of agents for both BuildMaster and TFS.

We tried using the MStest action and pointing it to the test configuration file as well as the MSTest executable on both target machine and build server.

Is there an accepted best practice for this with BuildMaster.

Test Failures Shown as Success

3
replies
I have some integration tests running with MSTest.exe via BuildMaster. Rather than specifying the DLL as the Test File, I specify the orderedtest file (as they need to run in order).

This works fine in that they run, however, if the tests fail, they show as Succeeded. I need to know when these tests fail.

I suspect it's the ordertest which is causing this as we have other tests, which are not ordered, and the show up as failed if errors occur.

Note: I have the 'Resume Next on Failure' switched off.

Please advise ASAP.

Thanks.

How does BuildMaster read applied labels from TFS when getting source code

2
replies
I am having an issue with getting by label steps for an application suite. The different apps are stored in separate folders and are not always built as a full set. Each has its own set of steps to go through a build.

Recently the get by label steps for multiple apps have failed due to a scope issue. It appears that the labels are being referenced at the root project level.

Each app is part of a release clled 1.0.5 and that is where the issue comes as each app gets a similar label based on build number. The labels are only applied to the specific App source code folder.

How can I specify a scope when trying to get the labelled code?

Multi-recipient notifier

1
replies
How should i add multiple users to a notifier? It says ";" separated, but it is not working either with a space or without. I recently tried a ; and newline but that also failed to send. I can get one recipient without issue. Please advise.

MSBuild action and /p:OutDir parameter causing issues.

2
replies
I have a .NET .sln file that I am trying to build with the "Build .NET Project" action. The solution builds fine, but my issue seems to be that BuildMaster is automatically adding the parameter to msbuild.exe: "/p:OutDir=D:\BuildMaster\_SVCTMP\_A5\_S0\WRK\".

The issue is that with this parameter passed, all the individual .csproj projects in the solution ignore their individual build output paths, and all build to \WRK\ now.

So, for example, if I have 2 Projects in my Solution, "MyProj" and "MyProj.Tests", lets say both individual projects have their build output directory set to "\bin".

So if I were to open VisualStudio and build it, I would end up with:
{SolutionDir}\MyProj\bin\
{SolutionDir}\MyProj.Tests\bin\

So all the files I want to "deploy" for real are in "{SolutionDir}\MyProj\bin\" (i.e. the unit test .dll fromt eh Tests project isn't in there).

Now, in BuildMaster, with it specifying /p:OutDir, I end up with both projects building to \WRK, so both MyProj.dll and MyProj,Tests.dll are both in \WRK.

This makes it a pain to separate out the items I want to deploy.

My real-life situation is more complicated, because my .sln contains 2 different .csproj files that are ASP.NET applications, whose output deploys to 2 different servers, so I really want their outputs from MSBuild to stay completely separate, so I can deploy them.

Is there something I am missing, or not setting up correctly? As a bit of background, this same .sln has been run in CruiseControl.net, and we later moved to TeamCity, but are now evaluationg BuildMaster for a possible mote to it instead. This .sln build fine in CC.net and TC, and their outputs stayed where the .csproj files indicated, just like VisualStudio had built them.

Thanks for any help!

SQL Server permissions needed for service account

1
replies
What are the SQL Server permissions that are required in order for this application to run? I am trying to install the product but I did not see anything in the documentation about what they needed to be.

Branching issue with TFS

1
replies
I am trying to use the TFS provider to perform a branch and am getting this error Unable to cast transparent proxy to type 'Inedo.BuildMaster.E
xtensibility.Providers.SourceControl.IBranchingProvider'.

Using V2.8.1.0 of the TFS provider on the latest build of build master.

Any ideas?

multi deployables issue

6
replies
I have 3 deployables and only 1 is being promoted beyond the integration environment. The others are empty and not found, but I can see them in the artifacts section of the build notes for integration.

Here is the log entry:
Action Group 3: Manage Images
Action 1: Deploy 'DesktopApplication-7.0-wBImages' to C:\BuildMaster\Installs\QA-Int\%RELNO%.%BLDNO%\wbImages
Initializing Action...
RemoteAction Initialization Complete:
Temp Directory: C:\BuildMaster\_SVCTMP\_A1\_S4\TMP
Source Directory: C:\BuildMaster\_SVCTMP\_A1\_S4\WRK
Target Directory: C:\BuildMaster\Installs\QA-Int\7.0.0.40\wbImages
Server: DCQC1-SVRVM-52 (Id: 1)
Initialization Complete. Executing...
Preparing directories...
Loading file...
Artifact does not exist in the artifact library.
Execution Complete. Finalizing...
Finalization Complete.

Android Build Support

1
replies
I wanted to know whether this tool can be used for automation/building the android projects.This will be valuable for me.

Can't delete source folder

1
replies
I've added the Delete Files/Folders action to my build with the intention that if the build directory exists, it will be removed so that my build can be clean from source control (I don't want artifacts from the last build in my current build). Unfortunately I'm getting the following error in my build and I can't figure out how to get it to work correctly...

Deleting: *
An unhandled exception occurred while executing this action: System.IO.IOException: The directory is not empty. at Inedo.BuildMaster.Extensibility.Actions.RemoteCommandExecution.RemoteActionExecuterBase.remoteAction_RemoteCommand(Object sender, RemoteCommandEventArgs e) at Inedo.BuildMaster.Extensibility.Actions.RemoteActionBase.ExecuteRemoteCommand(String name, String[] args) at Inedo.BuildMaster.Extensibility.Actions.RemoteActionBase.ExecuteRemoteCommand(String name) at Inedo.BuildMaster.Extensibility.Actions.Files.DeleteFilesAction.Execute() at Inedo.BuildMaster.Extensibility.Actions.ActionBase.ParamlessExecute()

This is the first action that runs in my build and I have the following values in my action:

Source Directory: C:\Code\Build
Action is Enabled: True
Resume Next on Failure: False
Timeout: (default)
File/Directory Masks: *
Delete from all subdirectories: True
Log individual entries: False

Any help is appreciated.

Installation problems

1
replies
Hi,

I'm trying to install BuildMaster and have downloaded the BuildMasterSetup2.6.2_SQLExpress.exe

It seems the installer is contacting a server but a 404 is returned. After entering e-mail and name, it says "Registering BuildMaster", but after approximately 5 seconds a pop up tells me "Unable to register", "The server returned en error: (404)Not found"

When I start it up, I am prompted for which installation to run, and I have tried both the free and the 45 day evaluation, but both fails.

I have tried on my local machine, which is a Windows 7 laptop. I have also tried on a Windows 2008 R2 server, but it fails on both systems.

Do you need any further information about my setup in order to see what is going on?

The BuildMaster web application can't find the BuildMaster service

1
replies
When I try to control the BuildMaster service from within the BuildMaster web application, it says the service cannot be found on the computer.

How can I fix this?

After updating BuildMaster, the service won't start

1
replies
Just updated to 2.6.0, stopped the services, ran the update and all went smoothly. Went to start the services and got:

"Could not start the BuildMaster Web Server (INEDOBMWEBSRV) service on Local Computer. Error 1075: The dependency service does not exist or has been marked for deletion."

What can I do to fix this?

BuildMaster and Hudson Co-exist?

1
replies
We do currently use Hudson for our continuous integration server. Can buildmaster connect or co-exist with that or would we need to replace it with buildmaster ?

I can only access BuildMaster from localhost:81

1
replies
I installed BuildMaster on my Windows 2008 server (DEVSERVER1), and it comes up as http://localhost:81 just fine, but when I try to access http://devserver:81 I get a 404 error.

I verified that the firewall is disabled.

Configuration file templates

1
replies
How do I create a configuration file template?

I have BuildMaster free version 2.6.0.

Developer Licensing

1
replies
In terms of the licensing, how is a user/developer defined?

Builds are always shown as "pending" when just created

1
replies
Every time I create a build, it goes into a Pending status - none of them are getting past 'pending'. They used to work fine.

Different hostname for integrated web server

1
replies
Why do I get "Bad Request - Invalid host" when i access the server as anything other than "localhost"