Support Q & A Home

Ask A Question

Anyone can ask or answer a question here, but our support engineers actively monitor your questions; we typically answer within a day or two.

Filter
Viewing Page 129 of 138 (20 questions out of 2760)
4
replies

We are trying to deploy an ASP.NET MVC4 .NET4.5 Web Application to our production server. When building the package on our testing server, the "NuGet Install Packages" extension automatically downloads and installs the missing packages needed.

For obvious reasons, we can not have "NuGet Install Packages" run on our production servers. How do we include the DLL's that NuGet downloaded/installed in the "bin" folder of our application.

There are many packages that are missing when it comes to deployment.

8
replies

We have a number of steps in our deployment step. The first of which is to get the source and TAG it. This moves the files into the /tag/ folder in the the repository.

The problem we keep facing is if something after the tagging has completed fails (backup failed, unit test failed, etc...), we can not re-execute the promotion as it fails on the tagging step as the tag already exists.

Error Message:
SharpSvn.SvnFileSystemException: Path 'tags/v1.130720003' already exists at Inedo.BuildMaster.Windows.ServiceApplication.SlimPlanActionExecuter.ExecuteRemoteCommand(RemoteActionBase action, RemoteCommandEventArgs e) at Inedo.BuildMaster.Windows.ServiceApplication.SlimPlanActionExecuter.TryExecuteRemoteCommand(RemoteActionBase action, RemoteCommandEventArgs e)

Is there a way to "Retag" and overwrite?
Or delete the current tag first?

3
replies

I have just installed BuildMasterSetup3.6.4_SQLExpress and now I want to install ProGetSetup2.1.1_SQLExpress on the same machine - windows 2008 R2 Standard.

But I get the following error..

Unhandled exception has occurred in your application....
it looked like some kind of Sql Server install conflict
I elected to continue install and Proget continued to install - but its taking ages to do anything - its just hung on "Preparing ProGet Database"

1
replies

I've written a customs variable setter, however I need access to the value of the %RELNO% variable for the build that's being created (custom variable is scoped as a build variable). How can I get it?

3
replies

We are getting an unhandled exception from the Linux Agent when the remote host is Solaris. The same bash script and Buildmaster action works fine against a Linux host. Buildmaster 3.6.4 build 5, Linux agent 3.12.1.0.

Build 23 for Cusmod Cook Islands 0.0 (18/07/2013 8:20:50 a.m.)
Action Group 6: Deploy Server
Action 2: Execute /bin/bash (-c "./bin/cusmod-checkenv.sh %CUSMOD_ENV% %DATABASE_SERVER% %DATABASE_NAME% %WEBLINKS% create continue normal %IGNORE_CHECKENV_ERR% %CONFIG_VERSION%") in /appl/cusdev
Initializing action...
An unhandled exception occurred while executing this action: Renci.SshNet.Common.SftpPermissionDeniedException: Permission denied at Renci.SshNet.Sftp.SubsystemSession.WaitHandle(WaitHandle waitHandle, TimeSpan operationTimeout) at Renci.SshNet.Sftp.SftpSession.RequestMkDir(String path) at Renci.SshNet.SftpClient.CreateDirectory(String path) at Inedo.BuildMasterExtensions.Linux.Agents.SshAgent.CreateDirectory(String path) at Inedo.BuildMaster.Windows.ServiceApplication.SlimPlanActionExecuter.RemoteAction_InitializeRemoteConfiguration(Object sender, RemoteConfigurationEventArgs e) at Inedo.BuildMaster.Extensibility.Actions.RemoteActionBase.OnInitializeRemoteConfiguration(RemoteConfigurationEventArgs e) at Inedo.BuildMaster.Extensibility.Actions.RemoteActionBase.OnBeforeExecute(EventArgs e) at Inedo.BuildMaster.Extensibility.Actions.ActionBase.Execute(IActionCancellationToken cancellationToken, ExecutionContext context, ExtensionConfigurerBase extensionConfigurer, Boolean resumeNextOnError, Boolean logErrorsAsWarnings)

1
replies

Running Buildmaster 3.6.4 build 5 (problem existed in 3.5 also).

When in Live View, if you hover the mouse over tha last completed action (green tick) the popup shows what that action was (this is correct) but if you click on "full log" it shos the log file for the previous action.

2
replies

In our projects we have multiple config files for each environment using the techniques prescribed by Microsoft as outlined here:
http://msdn.microsoft.com/en-us/library/dd465326.aspx

So we have the following files:
web.config
web.Deploy.config
web.Release.config

As we are a small development team this makes life very simple as we do not need to leave Visual Studio to make changes to these files. Added to that they are version controlled in case we ever need to roll back.

We would like to continue using this method and we are not interested in moving these different files into BuildMaster's configuration management system.

How can we get BuildMaster to work with these files or use MSDeploy to create our deployment artifacts?

3
replies

I'm trying to write a custom extension for reading a properties file which contains a list of (one per line) of "property=value" entries.

I would like to create or modify buildmaster variables and set the value equal to that in the file.

My question: how do I access the variables from the customs extension I am writing?

So far I have got this (which admittedly isn't very much) and I cannot figure out from the SDK documenation how to access the internals of buildmaster.

// -----------------------------------------------------------------------
// <copyright file="VariableInject.cs" company="NZ Customs Service">
// TODO: Update copyright text.
// </copyright>
// -----------------------------------------------------------------------

namespace NZCustomsServiceExtension.Actions
{
using System;
using System.Collections.Generic;
using System.Text;
using Inedo.BuildMaster;
using Inedo.BuildMaster.Extensibility.Actions;

/// <summary>
/// Populate BuildMaster variables from a properties file.
/// </summary>
[ActionProperties(
    "Variable Injection",
    "Populates BuildMaster variables from a properties file.",
    "NZCustomsService")]
public class VariableInject : ActionBase
{

    /// <summary>
    /// Location of properties file
    /// </summary>
    [Persistent]
    public string PropertiesFile {get; set;}

    /// <summary>
    /// This method is called to execute the Action.
    /// </summary>
    protected override void Execute()
    {
        this.LogInformation("What do I do here???");
        
    }
    
    /// <summary>
    /// Returns a string displayed in the BuildMaster deployment plan
    /// </summary>
    /// <returns>
    /// A <see cref="System.String"/> that represents this instance.
    /// </returns>
    public override string ToString()
    {
        return string.Format("Read properties file {0}", this.PropertiesFile);
    }

}

}

1
replies

Our linux agents worked fine in Buildmaster 3.5, but since upgrading to Buildmaster 3.6.4 (build 5) the "Execute Command" actions always gets the following error:

Build 20 for Cusmod Cook Islands 0.0 (15/07/2013 12:06:25 p.m.)
Action Group 1: Initialisation Tasks
Action 6: Run the shell script '#!/bin/bash ls -l'
Initializing action...
Source and Target directory same; splitting.
RemoteAction Initialization Complete:
Temp Directory: /appl/cusbld/buildmaster/_A5/_S1022/TMP
Source Directory: /appl/cusbld/buildmaster/_A5/_S1022/SRC
Target Directory: /appl/cusbld/buildmaster/_A5/_S1022/WRK
Server: DEV_dwdcs-cmas01_cusbld (Id: 10)
Initialization complete. Executing...
An unhandled exception occurred while executing this action: System.InvalidOperationException: Process has not been started. at Inedo.BuildMasterExtensions.Linux.Agents.SshProcess.WaitForExit() at Inedo.BuildMasterExtensions.Linux.ExecuteShellScriptAction.Execute() at Inedo.BuildMaster.Extensibility.Actions.ActionBase.Execute(IActionCancellationToken cancellationToken, ExecutionContext context, ExtensionConfigurerBase extensionConfigurer, Boolean resumeNextOnError, Boolean logErrorsAsWarnings)

We are running linux extension 3.11.2.0.

1
replies

I am trying to use an environment variable inside a script but am not getting a value returned. The variable has been set at the machine level.

What does buildmaster do to the environment the script is running under that it cannot pick up environment variables?

Example 1: Running the script manually logged on as the same user that the buildmaster service runs under.

C:\temp>andrew.cmd
EnableNuGetPackageRestore='true'
http_proxy=''
TEST='HELLO'
TEMP='C:\Users\SVC_JE~1\AppData\Local\Temp\2'

Example 2: Buildmaster job.

Initialization complete. Executing...
Arguments:
Working Directory:
C:\BuildMaster_SVCTMP_A7_S1032\SRC
Executing c:\temp\andrew.cmd
EnableNuGetPackageRestore=''
Process Exit Code: 0 (0x00000000)
Execution complete. Finalizing...
http_proxy=''
Target directory unused; joining with source.
TEST=''
TEMP='C:\Users\SVC_JE~1\AppData\Local\Temp'
Finalization complete.

3
replies

I see BitBucket is listed on the integration page, but I don't see the extension available in the BuildMaster Extensions area. Am I missing something?

2
replies

I have installed the extension for SourceGear Vault. But when I try to "test" the connection, I only get an error:

Note: vault is installed on the same server as buildmaster, but I don't see why that would be an issue. Vault is working and the connection parameters are known to be good.

Here is the error I get:

An unexpected error occurred while attempting to connect. Error executing vault: Unhandled Exception: System.Security.Cryptography.CryptographicException: Keyset does not exist at System.Security.Cryptography.CryptographicException.ThrowCryptogaphicException(Int32 hr) at System.Security.Cryptography.SafeProvHandle._FreeCSP(IntPtr pProvCtx) at System.Security.Cryptography.SafeProvHandle.ReleaseHandle() at System.Runtime.InteropServices.SafeHandle.InternalFinalize() at System.Runtime.InteropServices.SafeHandle.Dispose(Boolean disposing) at System.Runtime.InteropServices.SafeHandle.Finalize()

2
replies

How do I set a windows environment variable from buildmaster?

I assumed that a buildmaster variable would be accessible from a windows script in the same way that they are in Jenkins but this doesn't seem to be the case.

I'm trying to set http_proxy=<proxy> and EnableNuGetPackageRestore=true to allow NuGet to download items on the build server.

2
replies

Hi,

I'm requesting a database to be created on an SQL 2008 cluster for self-hosted BuildMaster. DBAs are asking for an estimated size of the database.

What does the BuildMaster store in the database? How large is the database expected to get with only a couple of applications, over, let's say, a 6 month period?

Thanks.

2
replies

Trying to push a 30MB NuGet package I get this error:

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()
at NuGet.RequestHelper.GetResponse(Func1 createRequest, Action1 prepareRequest, IProxyCache proxyCache, ICredentialCache credentialCache, ICredentialProvider credentialProvider)
at NuGet.HttpClient.GetResponse()
at NuGet.PackageServer.EnsureSuccessfulResponse(HttpClient client, Nullable1 expectedStatusCode) --- End of inner exception stack trace --- at NuGet.PackageServer.EnsureSuccessfulResponse(HttpClient client, Nullable1 expectedStatusCode)
at NuGet.PackageServer.PushPackageToServer(String apiKey, Func`1 packageStreamFactory, Int32 timeout)
at NuGet.PackageServer.PushPackage(String apiKey, IPackage package, Int32 timeout)
at NuGet.Commands.PushCommand.PushPackageCore(String source, String apiKey, PackageServer packageServer, String packageToPush, TimeSpan timeout)
at NuGet.Commands.PushCommand.PushPackage(String packagePath, String source,String apiKey, TimeSpan timeout)
at NuGet.Commands.PushCommand.ExecuteCommand()
at NuGet.Commands.Command.Execute()
at NuGet.Program.Main(String[] args)

ProGet 2.1.0 installed on a Windows Server 2008 R2 machine, under IIS.

Package structure:

  • lib\net40\foo.dll
  • tools\file1
  • tools\file2
  • tools\file3
  • tools\file4
  • tools\file5
  • tools\file6

The push succeeds if I remove one file from the package (size drops to 28 MB).

Is there a package size limit?
Can I enable some server side logs in order to have meaningful errors?

5
replies

Hello

I am using ProGet 2.0.6. When downloading a .nupkg using the web front-end, the .pdb files inside the package's lib folder are filtered out. I verified that the original package stored in the ProgramData folder does contain a .pdb file.

1
replies

We need to set a Buildmaster variable based on the contents of a file in artifactory. E.g. the Buildmaster Release number is 9.4.0 and the 4th digit latest build number comes from text file in artifactory which is created by our Jenkinw build jobs.

This would create the full VERSION_NUMBER (9.4.0.109) needs by subsequent Buildmaster actions.

Using the Artifactory pluging we can retrieve the file containing the latest build number, but how can we set a Buildmaster variable ?

7
replies

Hello

I have upgraded ProGet 1.x to ProGet 2.0.6 and suddenly all the packages with lib\net35 and lib\net40 sub-folders are not shown in NuGet VS add-in. Those packages are shown correctly only in the web interface of NuGet.
Packages with lib\net20 sub-folder are shown correctly in NuGet.

1
replies

When we create a new build set can manually set environment variables to define the build parameters.

For each environment in the pipeline (DEV, SIT, UAT, PRD) we need to set a variable to a different value for each environment - this variable is a reference to an external change control system and is not used in the build.

Are we able to do this ?

3
replies

We need to pass a password to a unix shell script when executing the "Execute Command" action but we do not want the password printed in the BuildMaster log file for security reasons.

How can we do this ?

Ask A Question
Page: 1 124 125 126 127 129 131 132 133 134 138