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 80 of 89 (20 questions out of 1767)
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 ?

1
replies

We have a server running all of our build and source control software that exist just to test new versions and config changes before we deploy them on the production server. I have a proget server license for the production server, but can I use the same license key on the test server?

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 ?

4
replies

After updating to the latest version of the git extension I am getting the error:

An unexpected error occurred while attempting to connect. The specified executable is not a valid Win32 application.

with any action that tries to access the git executable. I've tried it both with the built in exe as well as a standard git.exe. I can run git commands from the machine via the command prompt with no issues. I've attempted to uninstall / reinstall the extension with no change. Running on a windows XP machine.

Any suggestions?

3
replies

I get this error when trying to run the installation on a server within our intranet. The server does not have access to the internet and I.T. dept will not allow it.

The environment is highly secure.

What should I do?

6
replies

Hi

I am trying to run the following command for GlassFish server:

asadmin deploy --force=true --createtables=true business.ear

I added a Command Line action with the following parameters:
Executable path - the path to asadmin.bat
Working Directory - Project folder
Argument = deploy --force=true --createtables=true business.ear

This gave an error:

Action Group 2: Build Website
Action 3: Execute Y:\software\glassfish3\glassfish\bin\asadmin.bat (--user admin deploy --force=true --createtables=true aces3-business-services\api-dist\aces3-business-services-ear.ear) in Y:\Projects\ACESIII
Initializing action...
RemoteAction Initialization Complete:
Temp Directory: Y:\software\BuildMaster_SVCTMP_A3_S4\TMP
Source Directory: Y:\Projects\ACESIII
Target Directory: Y:\software\BuildMaster_SVCTMP_A3_S4\WRK
Server: NEETI-ORACLE (Id: 1)
Initialization complete. Executing...
Arguments: deploy --force=true --createtables=true aces3-business-services\api-dist\aces3-business-services-ear.ear
Working Directory: Y:\Projects\ACESIII
Executing Y:\software\glassfish3\glassfish\bin\asadmin.bat
Authentication failed for user: null
Command deploy failed.
(Usually, this means invalid user name and/or password)
Process Exit Code: 1 (0x00000001)
Execution complete. Finalizing...
Finalization complete.

So changed the Arguments to --user admin deploy --force=true --createtables=true <path of ear file>

Then saw the error for:
Action Group 2: Build Website
Action 3: Execute Y:\software\glassfish3\glassfish\bin\asadmin.bat (--user admin deploy --force=true --createtables=true aces3-business-services\api-dist\aces3-business-services-ear.ear) in Y:\Projects\ACESIII
Initializing action...
RemoteAction Initialization Complete:
Temp Directory: Y:\software\BuildMaster_SVCTMP_A3_S4\TMP
Source Directory: Y:\Projects\ACESIII
Target Directory: Y:\software\BuildMaster_SVCTMP_A3_S4\WRK
Server: NEETI-ORACLE (Id: 1)
Initialization complete. Executing...
Arguments: --user admin deploy --force=true --createtables=true aces3-business-services\api-dist\aces3-business-services-ear.ear
Working Directory: Y:\Projects\ACESIII
Executing Y:\software\glassfish3\glassfish\bin\asadmin.bat
Authentication failed for user: admin
Command deploy failed.
(Usually, this means invalid user name and/or password)
Process Exit Code: 1 (0x00000001)
Execution complete. Finalizing...
Finalization complete.

I am running this on my local machine, not any remote server.

It works when I run the command directly from command window without "user" option.

Any idea where I am going wrong?

Thank you

1
replies

On an Application my Promotion to Integration was Successful. Now when i Try to Open the Testing Page to promote it to testing I get the following Exception:

[InvalidCastException: Die angegebene Umwandlung ist ung├╝ltig.]
Inedo.BuildMaster.Web.WebApplication.Applications.Builds.Promotion.Promotion_Load(Object sender, EventArgs e) +4132
System.EventHandler.Invoke(Object sender, EventArgs e) +0
System.Web.UI.Control.OnLoad(EventArgs e) +124
Inedo.BuildMaster.Web.Controls.BuildMasterPage.OnLoad(EventArgs e) +9
System.Web.UI.Control.LoadRecursive() +74
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2513

The Buildmaster Installation is up to date and running on an Windows7 Xen VM

Any hints how I can fix this?

1
replies

Hi

I want to be able to allow developers to edit all config files but not allow deployment to Production.

The Deny access to Prod is too strong in the sense that it stops you performing anything on the Prod environment.

Is there a way, for certain users, to allow the editing of Production & Template config files but to stop any deployment to Production?

1
replies

We recently started to use BuildMaster and are testing it to be our deployment tool.
So far, it looks good and we are thinking of buying some additional features for it.
But never the less, I've got a question.

During testing the tool, we are also tested to increase the Releasenumber. Now we are using release number 6.

When we are going to start "alive" with Builmaster to deploy our application, I would like to start the application fresh with Releasenumber "1".

Is it possible to delete Releases and build, or starting to "decrease" the Release number ?

Kind regards
Martin van Berkel

1
replies

When using the Execute Command Line action we would like to be able to specify the target host the command runs on by environment variable.

Is this possible in build 3.5.10(6) or is it planned for the future ?

13
replies

BuildMaster version 3.5.10 (Build 6) - self-hosted
I am running BuildMaster interactively.

I created an Action using Build Ant Project

  • Selected the source directory
  • Build File Path: gave the entire path to the build file - entirepath\deployment.xml - deployment.xml is the build file
  • Build Target - "build"

When a new build is created, the following error is shown:

Build 12 for ACESIII 0.0 (6/19/2013 11:12:44 AM)
Action Group 2: Build Website
Action 1: Build Y:\Projects\ACESIII\deployment\deployment.xml Target:build
Preparing remote servers for execution...
Preparing NEETI-ORACLE for execution...
Preparation complete.
Initializing action...
RemoteAction Initialization Complete:
Temp Directory: Y:\software\BuildMaster_SVCTMP_A3_S4\TMP
Source Directory: Y:\Projects\ACESIII
Target Directory: Y:\software\BuildMaster_SVCTMP_A3_S4\WRK
Server: NEETI-ORACLE (Id: 1)
Initialization complete. Executing...
Arguments: -buildfile "Y:\Projects\ACESIII\deployment\deployment.xml" "build"
Working Directory: Y:\Projects\ACESIII
Executing Y:\software\apache-ant-1.9.1\bin\ant.exe
An unhandled exception occurred while executing this action: System.ComponentModel.Win32Exception: The system cannot find the file specified at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo) at Inedo.BuildMaster.Extensibility.Agents.Local.LocalAgent.StandardProcess.Inedo.BuildMaster.Extensibility.Agents.IProcess.Start() at Inedo.BuildMaster.Extensibility.Actions.CommandLineActionBase.ExecuteCommandLine(IRemoteProcessExecuter agent, String fileName, String arguments, String workingDirectory) at Inedo.BuildMasterExtensions.Java.AntAction.Execute() at Inedo.BuildMaster.Extensibility.Actions.ActionBase.Execute(IActionCancellationToken cancellationToken, ExecutionContext context, ExtensionConfigurerBase extensionConfigurer, Boolean resumeNextOnError, Boolean logErrorsAsWarnings)

I tried with

  • Build Path file - entirepath - without adding "deployment.xml"
    But the same error.
1
replies

I've been mulling over how best to get the deployment packages we create in Jenkins into BuildMaster and am at a bit of a loss as to the best approach so I've come here for some guidance.

Background:
We build, test and create deployment packages in Jenkins.
There are 4 components to our application - client, server, server config, database - a release may consist of one or more of those components.
We only create the deployment packages when we are ready to deploy to test (ie we run a job in Jenkins for each component we want to include)
We have just started placing the resulting packages into Artifactory (previously just saved to file system)

Options:
Here's some of my thoughts:

  1. When we create a build enter name of packages want into variables and use that to retrieve correct package from Artifactory (this is what we do right now)

  2. Query Artifactory (just assuming this possible) for the latest set of files and store that value in a variable and pull the artifacts out of Artifactory for each environment deploying to

  3. Pretty much same as #2 but add files into BuildMasters internal artifact library for releasing to subsequent environments (this makes me question why use Artifactory at all)

I'm leaning towards option 2, although I am a little concerned that I'm loosing clarity about what's going into a build, but I think that it reduces the chance of a typo causing the wrong set of files getting into a release.

What would your approach be?

1
replies

When I build, the build fails, and log lists the following:

earching for D:\BuildMaster\Artifacts\10\0.0\2\18\Website.zip...
Loading file from ...
The artifact could not be found.

However, when I check the artifact isn't there, it's in a slightly different folder, isntead of \18\ at the end, it's in \0.

I don't seem to have any control over this. Interestingly when I go into the release, and the artifact is listed, I can click and download it. So something knows its there.

Any ideas?

3
replies

We are using the "Delete Files/Folders" action to delete a file on a network drive (\machine\Dir\Subdir\File-Name-%VARIABLE%.exe)

The file is accessible from the Buildmaster machine and you can delete the file manually as the same user that Buildmaster runs as.

But the Delete Files/Folders action says there are no files to delete and there are no error messages displayed.

2
replies

Some of our deployment tasks can take some time and we need to be able to see the progress in the log file as the task progresses.

Currently the log file only gets updated when the task ends (success or failure). Is it possible to see get the log file updates in "real time" (or close to it) ?

5
replies

We are using the Transfer Files action to copy a 100MB file between 1 unix machines.

Buildmaster is taking > 8 minutes to complete the copy, but using scp from one machine the copy only takes 5 seconds.

I would expect Buildmaster to take more than 5 seconds as it is probably copying to the Buildmaster Windows server as an intermediate step, but 8 minutes seems too long.

Ask A Question
Page: 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778808283848586878889