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 63 of 89 (20 questions out of 1767)
3
replies

In older versions of BM, there was a method allowing a forced update to a specific build agent, but it appears to no longer exist in the current version (not sure when it was removed). I have about 15 different build servers running build agents, none of which are on the same network. If an agent fails to update, I no longer have a way to update the specific agent. My only option is to update all agents at once. Is there another way to initiate a specific build agent update?

Product: BuildMaster
Version: 4.3.8

3
replies

Hi there :)

I was previously running a TeamCity nuget feed which was unreliable so I am trialling ProGet.

I have successfully installed a ProGet server on a dedicated server :)

We use Teamcity to create nupkg packages and I want to integrate the Teamcity NuGet Publish Build Step to upload packages to ProGet. When I perform a NuGet publish from Teamcity, it fails with error

	[08:45:12]Step 3/3: Publish to ProGet (ABT Prod server) (NuGet Publish)
	[08:45:12][Step 3/3] push: Publish package Build\packages\SciChart.3.1.0.4680.nupkg
	[08:45:12][push] NuGet command: C:\BuildAgent\plugins\nuget-agent\bin\JetBrains.TeamCity.NuGetRunner.exe C:\BuildAgent\tools\NuGet.CommandLine.DEFAULT.nupkg\tools\NuGet.exe push C:\BuildAgent\work\fd34bcf86028b09c\Build\packages\SciChart.3.1.0.4680.nupkg %%teamcity_nuget_api_key_1404377112639%% -Source http://anonymised-feed-url'
	[08:45:12][push] Starting: C:\BuildAgent\temp\agentTmp\custom_script681410212521114575.cmd
	[08:45:12][push] in directory: C:\BuildAgent\work\fd34bcf86028b09c\Build\packages
	[08:45:12][push] JetBrains TeamCity NuGet Runner 8.0.27692.9
	[08:45:12][push] Registered additional extensions from paths: C:\BuildAgent\plugins\nuget-agent\bin\plugins-2.5
	[08:45:12][push] Starting NuGet.exe 2.8.50506.491 from C:\BuildAgent\tools\NuGet.CommandLine.DEFAULT.nupkg\tools\NuGet.exe
	[08:45:13][push] Pushing SciChart 3.1.0.4680 to 'http://anonymised-feed-url'...
	[08:45:13][push] Failed to process request. 'There was an error processing the request: You are not authorized to add a package to this feed. By default, ProGet is not configured to allow unauthenticated users to publish packages to a feed. You will need to either authenticate (by using "name:pass" as your API Key) or give the Anonymous User the Feeds_AddPackage privilege.'. 
	[08:45:13][push] The remote server returned an error: (403) Forbidden..
	[08:45:13][push] Process exited with code 1
	[08:45:13][Step 3/3] Step Publish to ProGet (ABT Prod server) (NuGet Publish) failed

Now I couldn't get the suggested Name:Pass API key method to work either this fails with error too.

	[08:51:31]Step 3/3: Publish to ProGet (ABT Prod server) (NuGet Publish)
	[08:51:31][Step 3/3] push: Publish package Build\packages\SciChart.3.1.0.4680.nupkg
	[08:51:31][push] NuGet command: C:\BuildAgent\plugins\nuget-agent\bin\JetBrains.TeamCity.NuGetRunner.exe C:\BuildAgent\tools\NuGet.CommandLine.DEFAULT.nupkg\tools\NuGet.exe push C:\BuildAgent\work\fd34bcf86028b09c\Build\packages\SciChart.3.1.0.4680.nupkg %%teamcity_nuget_api_key_1404377491436%% -Source  http://anonymised-feed-url'
	[08:51:31][push] Starting: C:\BuildAgent\temp\agentTmp\custom_script2375221507479887116.cmd
	[08:51:31][push] in directory: C:\BuildAgent\work\fd34bcf86028b09c\Build\packages
	[08:51:31][push] JetBrains TeamCity NuGet Runner 8.0.27692.9
	[08:51:31][push] Registered additional extensions from paths: C:\BuildAgent\plugins\nuget-agent\bin\plugins-2.5
	[08:51:31][push] Starting NuGet.exe 2.8.50506.491 from C:\BuildAgent\tools\NuGet.CommandLine.DEFAULT.nupkg\tools\NuGet.exe
	[08:51:32][push] Pushing SciChart 3.1.0.4680 to 'http://anonymised-feed-url'...
	[08:51:32][push] Failed to process request. 'There was an error processing the request: Invalid API key.'. 
	[08:51:32][push] The remote server returned an error: (403) Forbidden..
	[08:51:32][push] Process exited with code 1
	[08:51:32][Step 3/3] Step Publish to ProGet (ABT Prod server) (NuGet Publish) failed
	[08:51:32]Publishing internal artifacts

So, eventually I had to allow the anonymous user to have the Feeds_AddPackage privilege, which as you can imagine, is not idea.

Can you tell me how to enable NuGet publish from Teamcity to ProGet using authentication?

Product: ProGet
Version: 3.1.0

5
replies

Hi,

I export a deployment plan, but when I try to import it to another application I get

 a Nullable object must have a value exception.

The xml I am trying to import is :

<?xml version="1.0" encoding="utf-8"?>
<DeploymentPlan xmlns="http://inedo.com/schemas/buildmaster/2014/05/bmxplan">
  <Servers>
    <Server Id="1" LastModified="2000-01-01T00:00:00Z">DUB6WSD56001</Server>
  </Servers>
  <Providers />
  <ActionGroup DeploymentPlanActionGroupId="3292" DeploymentPlanActionGroupSequence="1" ActionGroupId="3287" Active="Y" Shared="N" Parallel="N" IterateServers="N" IterateDeployables="N" OnFailureContinue="N">
    <Name>Get Labelled Source Version From Perforce</Name>
    <Description>Actions in this group should label or tag a path in source control and then retrieve code from that path.</Description>
    <Actions>
      <Action ActionSequence="1" ServerId="1" RetryCount="0" Active="Y" ResumeNextOnFailure="N" LogFailureAsWarning="N" Name="Get Source from $SCMDir Labeled $ReleaseNumber.$BuildNumber" Description="to $CurrentDirectory">
        <Inedo.BuildMaster.Extensibility.Actions.SourceControl.GetLabeledAction Assembly="BuildMasterExtensions">
          <Properties UserDefinedLabel="$ReleaseNumber.$BuildNumber" SourcePath="$SCMDir" ClearTargetDirectory="False" ProviderId="7" LogErrorsAsWarnings="False" _ExecutionId="0" OverriddenTargetDirectory="" Timeout="0" />
        </Inedo.BuildMaster.Extensibility.Actions.SourceControl.GetLabeledAction>
      </Action>
      <Action ActionSequence="2" ServerId="1" RetryCount="0" Active="Y" ResumeNextOnFailure="N" LogFailureAsWarning="N" Name="Set File Attributes" Description="Clear read-only flag on files matching * in (default).">
        <Inedo.BuildMaster.Extensibility.Actions.Files.SetFileAttributesAction Assembly="BuildMasterExtensions">
          <Properties FileMasks="*" Recursive="True" ReadOnlyState="False" OverriddenSourceDirectory="" Timeout="0" />
        </Inedo.BuildMaster.Extensibility.Actions.Files.SetFileAttributesAction>
      </Action>
    </Actions>
  </ActionGroup>
  <ActionGroup DeploymentPlanActionGroupId="3293" DeploymentPlanActionGroupSequence="2" ActionGroupId="3288" Active="Y" Shared="N" Parallel="N" IterateServers="N" IterateDeployables="N" OnFailureContinue="N">
    <Name>Copy the Source as a reference</Name>
    <Description>So we can record the source used for the build.  Note we do not build the source - we deploy from the artifact</Description>
    <Actions>
      <Action ActionSequence="1" ServerId="1" RetryCount="0" Active="Y" ResumeNextOnFailure="N" LogFailureAsWarning="N" Name="Synchronize Directory Contents" Description="of $BuildSrcDir\$EnvironmentName\$ApplicationName\ with files and directories from $CurrentDirectory" TargetServerId="1">
        <Inedo.BuildMaster.Extensibility.Actions.Files.TransferFilesAction Assembly="BuildMasterExtensions">
          <Properties SourceDirectory="" TargetDirectory="$BuildSrcDir\$EnvironmentName\$ApplicationName\" DeleteTarget="True" IncludeFileMasks="*" Timeout="0" />
        </Inedo.BuildMaster.Extensibility.Actions.Files.TransferFilesAction>
      </Action>
    </Actions>
  </ActionGroup>
  <ActionGroup DeploymentPlanActionGroupId="3294" DeploymentPlanActionGroupSequence="3" ActionGroupId="3289" Active="Y" Shared="N" Parallel="N" IterateServers="N" IterateDeployables="N" OnFailureContinue="N">
    <Name>Deploy App</Name>
    <Description>Deploy the artifacts created in the build actions, and then any configuration files needed.</Description>
    <Actions>
      <Action ActionSequence="1" ServerId="1" RetryCount="0" Active="Y" ResumeNextOnFailure="N" LogFailureAsWarning="N" Name="Deploy $ApplicationName Artifact" Description="to $BuildDropDir\$EnvironmentName\$ApplicationName\">
        <Inedo.BuildMaster.Extensibility.Actions.Artifacts.DeployArtifactAction Assembly="BuildMasterExtensions">
          <Properties ArtifactName="$ApplicationName" DeployAsZipFile="False" DoNotClearTargetDirectory="False" LogIndividualFiles="False" OverriddenTargetDirectory="$BuildDropDir\$EnvironmentName\$ApplicationName\" Timeout="0" />
        </Inedo.BuildMaster.Extensibility.Actions.Artifacts.DeployArtifactAction>
      </Action>
    </Actions>
  </ActionGroup>
</DeploymentPlan>

What is the Issue?

Product: BuildMaster
Version: 4.3.6

1
replies

Hi,
Hope you can help me.
Can I configure MSTest action to run all tests from a .testsettings file instead of particular test dll?
Also, how can I email the test results?
Thanks,
ODP

Product: BuildMaster
Version: 4.3.7

3
replies

Hi,

I'm trying to push to ProGet (running on IIS). However, when I push to my repository using Admin:Admin (I will change this soon) I get the error. I have followed the instructions in the documentation.

F:\TFSOnline\PaginationHelpers\bin\Debug
>nuget push PaginationHelpers.1.0.1.nupkg -ApiKey Admin:Admin -s http://pro
get.zibrant.com/nuget/Zibrant
Pushing PaginationHelpers 1.0.1 to 'http://proget.zibrant.com/nuget/Zibrant'...
Failed to process request. 'There was an error processing the request: Invalid A
PI key.'.
The remote server returned an error: (403) Forbidden..

Does anyone know what I'm doing wrong?

Matt

Product: ProGet
Version: 3.1.0

1
replies

Dear support,

Within our organization we use a release schema of YYWW, for example 1403, 1404, etc.
This is related to the sprints we have every 2 weeks.
So, at this moment we have the release 1412 in production.

Last monday, we started the new sprint, named 1413.
The deployment consists of 3 different applications.
All was working well, up to now.

One of the applications was craching so an emerency fix was needed.
In stead of having an emercency deployment plan, the release was cancelled.
The new releasenumber was set to ... "141201".
The intention was to identify the first "01" sub-release of "1412".

Of course this worked, but now we have the problems generating the new releases.

For this specific application, the release "1413" can not be un-cancelled, because of the newer release.

Can you give us a hint to regenerate our scheme and reactivate "1413".

Kind regards
Martin van Berkel

Product: BuildMaster
Version: 3.6.5

4
replies

In trying to set up the subversion source control extension, I came upon the following error when I clicked Test Connection:

An unexpected error occurred while attempting to connect. Assembly Subversion was not found. The extension may be out of date, have been deleted, or could not be loaded.
Parameter name: assemblyName

I am running BuildMaster on the server that our repository is on; BuildMaster seems to be able to find the repo easily, but can't find subversion itself to connect to. Any ideas as to what could be going on?

Product: BuildMaster
Version: 4.3.7

1
replies

Hi Guys,
we have Proget run in a VM on a Microsoft Hyper-V Server, we get no machine UID displayed.
You have any idea how we get the processor's serial number in the VM to Proget?

Product: ProGet
Version: 3.1.0

1
replies

Using v4.3.6 if you try to deploy to an environment which has no action groups, buildmaster tries to start the job but does nothing (as there is nothing to do) but the job never finishes and cannot be cancelled.

A minor issue, in this case we had forgotten to copy the action groups to this environment, but previously the deployment would have completed almost immediately, where as not it hangs.

Product: BuildMaster
Version: 4.3.6

1
replies

Hi,

We have a problem using the ODATA package queries. With the follow ODATA query we get an error:

http://proget-server/nuget/{feedName}/Packages?$filter=Id eq 'ProjectName.Deploy' and startswith(Version,'1.0')&$top=1&$orderby=Created desc

The error message is :
The binary operator AndAlso is not defined for the types 'System.String' and 'System.Boolean'.

With kind Regards, Cor.

Product: ProGet
Version: 3.1.0

2
replies

One of our deployable tasks is to send files to a folder that is based on the version number. Although its not an exact copy of the version, and even worse, its the imported version.

I originally used ${ReleaseName} which then let me call ${ReferancedReleaseName}, it was fine because I can type anything I want into the name, but I worry about using that field long term.

So I created a custom variable called FolderNumber and I am trying to find a way to reliably access that value on releases that import from that project.

I was hoping i could create an artifact named based on ${FolderNumber}, then on the applications that import I call ${ArtifactName}, however that is not option based on the Help dialog.

Is there other ways I can link values across applications, even if it is not a variable? The 5 I see are App ID, App Name, Build Number, Release Name, and Release Number, and none of those will work any better than sticking with Release Name.

Product: BuildMaster
Version: 4.2.8

2
replies

In both 4.3.4 and 4.3.5 we are getting the following exception when trying to execute a Manual Step:

An unhandled exception occurred during executing of action: System.Data.SqlClient.SqlException (0x80131904): Invalid object name 'BuildExecution_PlanActions'. Transaction count after EXECUTE indicates a mismatching number of BEGIN and COMMIT statements. Previous count = 0, current count = 1. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning() at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject

Also, in v4.3.5 we can no longer view the log detail of the execution - if you click on the task link the words [View Full Log] appear only. This worked in v4.3.4

Product: BuildMaster
Version: 4.3.5

7
replies

Hi

We are using ProGet with LDAP authentication at my company, but it is very, very slow. If I turn on Fiddler and compare the timing of the web requests to the server, I can easily see the difference.

When I try to use the Visual Studio Manage Packages dialog, for example, to list the available packages via ProGet, it takes about 0.3 seconds with integrated authentication, but 6 seconds with LDAP authentication turned on. That's a factor of 20 slower.

Other operations that take more time, e.g. installing or updating packages take a lot longer.

I have now switched off LDAP authentication for now, because the server has simply become too slow, but we really need it - it is one of the main reasons we bought ProGet.

We are running ProGet on a Windows 2012 Server under IIS and ASP.NET. (I couldn't get the LDAP integration to work with the built-in web server, I kept getting authentication errors.)

Thanks
Riko

Product: ProGet
Version: 3.1.0

1
replies

We've got a problem scenario when we’ve got packages that contain a “lib” folder & some other folder, like “Content” or “tools”.

When we build this package with –Symbols to get the source, our two packages are not subsets of each other:
Main package contains: lib, Content, tools.
Symbol package contains: lib, src

  • This is just how nuget does things

When I upload the normal package, everything works, but we don’t get source & symbols – obviously.
When I upload the symbol package, we can debug – but the installation of the package misses any Content files or scripts that run on Install. These can be important.

If we upload first one, then the other, then the packages just override each other.

Is there anyway that we can get around this?

Product: ProGet
Version: 3.1.0

2
replies

Hi There,

As of BuildMaster 4.3.4 we can no longer access our Build Log as part of the Execution Log.
At present it crashes Chrome, Internet Explorer and Firefox, however Firefox is the only one that is actually able to load the load the log. Our build logs for this particular product are quite large and at present due to existing legacy code we have ~3.5k warnings being generated which results in a build log that is about 5000 lines.

Is this a limitation of knockout and the way that the page is being bound?

Please see the screenshot below:
Image Text

This has not been an issue in the past, I assume that since you have changed from a pure text log to using knockout to bind the page that there may be some limitation in the size of what can be rendered?

Thanks and Regards,
Daniel.

Product: BuildMaster
Version: 4.3.4

1
replies

Hi,

BuildExecutionPlanAction_GetVariableValues was removed from the API in 4.2, what has replaced this functionality ?

Product: BuildMaster
Version: 4.3.4

3
replies

Hi

I can find documentation on your website how to switch to IIS for running ProGet, but can't find information on how to switch from IIS to the integrated server, and how to change the port number the integrated server will use.

Thanks
Riko

Product: ProGet
Version: 3.0.3

10
replies

Hi,

We've set up a ProGet repository in our organization and created a private feed there that stores our internal packages.
Correct username and password has to be sent to ProGet to get access there.

Now, as a part of our CI build, I need to perform NuGet Restore that gets packages from official NuGet feed and/or from our internal ProGet feed. But I can't make it work non-interactively, without the need to manually enter username and password - which is obviously a must for CI process.

Main nuget.config file contains correct feed url (http://nuget.ourCompany.org/nuget/Corporate), username and password.

I run this console command: nuget.exe Restore OurSolution.sln -Verbosity detailed

Sample output for a package from official NuGet feed:

GET https://www.nuget.org/api/v2/Packages(Id='AutoMapper',Version='2.2.1')
Installing 'AutoMapper 2.2.1'.
GET https://www.nuget.org/api/v2/package/AutoMapper/2.2.1
Successfully installed 'AutoMapper 2.2.1'.
All packages listed in packages.config are already installed.

Sample output for a package from ProGet private feed:

Using credentials from config. UserName: Developer
GET http://nuget.ourCompany.org/nuget/Corporate/Packages(Id='OurPackage',Version='1.0.2')
Installing 'OurPackage 1.0.2'.
GET http://nuget.ourCompany.org/api/v2/package/Corporate/OurPackage/1.0.2
Please provide credentials for: http://nuget.ourCompany.org/api/v2/package/Corporate/OurPackage/1.0.2
UserName: 

And now NuGet.exe expects to read username and password from console input, even though it successfully used nuget.config credentials before.

I've done some debugging in nuget.exe and it turns out that this error is caused by this difference in urls:

GET http://nuget.ourCompany.org/nuget/Corporate/Packages(Id='OurPackage',Version='1.0.2')
GET http://nuget.ourCompany.org/api/v2/package/Corporate/OurPackage/1.0.2

Feed url is http://nuget.ourCompany.org/nuget/Corporate, and NuGet doesn't match username/password for it to url http://nuget.ourCompany.org/api/v2/package/...

NuGet would work correctly if ProGet feed url would be like http://nuget.ourCompany.org/api/v2/ or http://nuget.ourCompany.org/api/v2/Corporate, but then ProGet doesn't work.

So my general question is: How to make non-interactive NuGet Restore for a private ProGet feed?

And my specific question is: How to expose ProGet feed with url starting with http://.../api/v2/ , like in official nuget feed (https://www.nuget.org/api/v2/)?

Product: ProGet
Version: 3.0.3

11
replies

Whenever I push a build to a new environment it will regularly take 2+ minutes before it ever starts running the first step (Deploy artifact) and looks like the screenshot below. What is causing this slowness? The build server and the server it's deploying to are both on the same internal network with a very fast connection between them. Our staging environment is using the SOAP agent and our production is using the TCP agent but both are equally slow.

Is there anything I can do to speed it up?

Slow Deploy

Product: BuildMaster
Version: 4.2.6

9
replies

We are consistently getting indexing errors when deploying to nuget:

The process cannot access the file 'XXXXXXX.1.0.1505.nupkg' because it is being used by another process.

at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at Inedo.NuGet.Packages.NuGetPackage.ReadFromNupkgFile(String fileName)
at Inedo.ProGet.Extensibility.PackageStores.DirectoryPackageStore.TryReadPackage(String fileName)

Using process explorer, we have verified that the only program that has a lock on the file is 'ProGet.Service.Exe'

Product: ProGet
Version: 3.0.3

Ask A Question
Page: 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616365666768697071727374757677787980818283848586878889