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 1 of 73 (20 questions out of 1446)
1
replies

How can I get the full execution log from BuildMaster? I found this (http://inedo.com/support/tutorials/get-a-complete-build-log-by-build-number-through-the-json-api) tutorial but it doesn't work. The 'api/json/Builds_GetExecutionLog' gives 404 error.

Product: BuildMaster
Version: 5.3.6

1
replies

My buildmaster service user has local admin rights. I try to use powershell to terminate another user's process as part of the pipeline.

However, to kill another user's process in powershell, it needs to run as Administrator, but powershell executed by buildmaster is not in privileged running mode.

Is there a way to promote the powershell to be in administrator mode, or is there another way to kill off another user's process?

Product: BuildMaster
Version: 5.3.6

3
replies

So far the other projects I've been building with 5.x have not had extra properties being set so they have been building fine. Now I've converted another project to 5 and the MSBuild action, using the new one, fails with this strange error. This project has several properties that are passed in. Nothing in this project has changed and none of the properties have changed, the only change is converting to BM 5.

Here is the piece of Otter Script, note all the variables shown have the correct values:

Code

with timeout = 240
    {
        Build-Project $WorkingDirectory\Sci\Framework\Service\Sm\Scheduling\Api\SchedulingServer\Sci.Framework.Service.Sm.Scheduling.Api.SchedulingServer.csproj
        (
            Configuration: Release,
            Platform: AnyCPU,
            MSBuildProperties: DeployOnBuild=true;PublishProfile=$RelPublishProfile;VisualStudioVersion=11.0;WORKSPACE=$WorkingDirectory,
            Arguments: /m:$BUILD_PROCESSES /nologo /t:rebuild
        );
    }

and here is the Error info:

Error: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Microsoft.Common.targets(340,29): error MSB4115: The "HasTrailingSlash" function only accepts a scalar value, but its argument "$(IntermediateOutputPath)" evaluates to "obj\Release;Platform=AnyCPU;DeployOnBuild=true;PublishProfile=Build_Deploy_Release;VisualStudioVersion=11.0;WORKSPACE=D:\InedoAgent\BuildMaster\Temp_E2046_D1016" /m:16 /nologo /t:rebuild\" which is not a scalar value.

I tried changing all the properties to be /p: without the semicolons but that failed the exact same way. Something about the way it's combining all the info and passing to MSBuild doesn't seem to be working correctly.

Product: BuildMaster
Version: 5.3.6

2
replies

My NuGet proxy feed was appearing empty so I tried to update the proxy settings of the server.

Now the server is not reachable at all. Is there a way to restore the proxy setting without the web interface?

Thanks!

Product: ProGet
Version: 4.3.1

6
replies

When I add multiple plans to a pipeline stage, they execute concurrently. Is this the intended behavior, and are there any plans to allow for setting an execution order?

I'm using global plans and global pipelines.

Product: BuildMaster
Version: 5.3.3

4
replies

Trying to setup symbols to be able to debug nuget package as described here: http://inedo.com/support/kb/1036/using-progets-symbol-server

Package gets built and pushed to Proget using BuildMaster. I setup VS options as described and I do see the .pdb files when I open package page in Proget and click on the View for "Symbols and source files are available", meaning they exist and are indexed. I configured the feed to not strip the symbols when downloading the package. Then I install the package via Nuget Package Manager UI or Package Manager Console with -Source option.

When debugging through the code that uses this package VS tries to open the source file on the Buildmaster server, where it was built from, as local file (D:\Buildmaster_SVCTMP...) and sure enough the file is not on my local drive, it's on BM server.

What am I missing? Thanks, Nik

Product: ProGet
Version: 4.0.9

3
replies

Hi,

Currently during the release package, a stage is marked success if any of its target is success, irregardless whether other targets in the same stage is failed or not.

Is it possible to change the behavior so that (1) to mark the stage success only after all its targets are success? And (2) if any of its target fails, the stage should be marked as fail.

This sounds more logical to me than the current behavior. Please advise. Thanks.

Regards, Aris

Product: BuildMaster
Version: 5.3.4

2
replies

Using the ProGetSetup4.3.0_SQLExpress.exe, I can't upgrade an existing ProGet 4.2.1 install to 4.3.0.

It stops with the following error message:

Could not find Extensions.ExtensionsPath in ProGet database.

Product: ProGet
Version: 4.2.1

2
replies

In BuildMaster 4.9 I could use the procedure dbo.Builds_CreateBuild to trigger a build via SQL code. Running this procedure would do everything necessary to build and promote - in effect, it was the same thing as clicking "New build > Create Build" via the web interface. We used this to trigger large batches of builds programmatically.

In 5.3, that same procedure is not comprehensive and does not trigger the build. Is there a new procedure in 5.3 that has the same comprehensive effect as clicking "Create Package" via the web interface? If not, are there plans to build one, maybe something like dbo.Packages_CreatePackage?

Thanks.

Product: BuildMaster
Version: 5.3.3

2
replies

Dear all, this is my tnsnames.ora file:

TEST =
 ( DESCRIPTION=
  (ADDRESS=(PROTOCOL=tcp)(HOST=oratt.example.local) (PORT=1521))
  (CONNECT_DATA=
   (SERVICE_NAME=orl.example.local))
)

Using these parameters how am I supposed to set up my Oracle connection string? Thanks for helping me

Product: BuildMaster
Version: 5.3.4

1
replies

What is the difference between agent servers that are "Legacy (Self-hosted)" and "Idedo"? Is there a reason that agent servers aren't all the same? And should I do something to upgrade them?

Product: BuildMaster
Version: 5.3.4

2
replies

Issue

Task 'FeedCleanup' removes all packages in feed from index if run while tempdb is full

How to reproduce error

Make tempdb full and run 'FeedCleanup' on your feed of choice

Environment

Webserver

Proget: 4.1.3, IIS: 8.5, OS: Windows 2012 R2

Packages stored on \\fileserver\share in domain, and app-pool is run by domainuser/serviceaccount with access to said \\fileserver\share.

Databaseserver

SQL: MSSQL STD 12.0.5000.0, OS: Windows 2012 R2

Detailed log

The log itself is 11232 lines long due to the amount of packages, so I've abbreviated it here. I've only skipped the repeating parts pr package, but let me know if you want the entire log.

We have two different feeds and both had this exact same issue when the tempdb was full.

Logfile:

DEBUG: Beginning cleanup for External (NuGet) feed. INFO: Starting feed consistency check... INFO: Beginning feed package consistency check on 620 packages... ERROR: Package failed validation: System.Data.SqlClient.SqlException (0x80131904): 9002174NuGetPackages_CreateOrUpdatePackage35The transaction log for database 'tempdb' is full due to 'ACTIVE_TRANSACTION'. at System.Data.SqlClient.SqlCommand.<ExecuteDbDataReaderAsync>b__24(Task1 result) at System.Threading.Tasks.ContinuationResultTaskFromResultTask2.InnerInvoke() at System.Threading.Tasks.Task.Execute() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Inedo.Data.DatabaseContext.DbResult.<CreateAsync>d__10.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1.ConfiguredTaskAwaiter.GetResult() at Inedo.Data.DatabaseContext.<ExecuteInternalAsync>d__33.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Inedo.Data.DatabaseContext.men <ExecuteNonQueryAsync>d__31.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Inedo.Data.DatabaseContext.<ExecuteScalarAsync>d__301.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult() at Inedo.ProGet.Feeds.NuGet.NuGetFeed.<InstallOrUpdatePackageAsync>d__40.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Inedo.ProGet.ScheduledTasks.Feed.NuGetPackageIndex.<ValidatePackageAsync>d__3.MoveNext() ClientConnectionId: [id removed]Error Number:50000,State:42,Class:17

[repeats ERROR-section 619 more times (one pr package) ] INFO: Checking for orphaned package index entries...

DEBUG: Found 620 orphaned package entries.

DEBUG: Removing Id='[PackageNameChanged]',Version='1.1.1.0' from index...

[repeats "DEBUG: Removing.." 619 times more (one pr package)]

INFO: Feed package consistency check complete (0 packages processed).

DEBUG: Feed consistency check completed.

INFO: Starting feed retention check...

DEBUG: Checking for feed retention rules...

DEBUG: Feed has no retention rules.

DEBUG: Feed retention check completed.

DEBUG: Cleanup complete.

Product: ProGet
Version: 4.1.3

1
replies

I know how to call the Template with arguments but how do I make variables required in the template? I tried to find some documentation on this but didn't find anything.

Product: BuildMaster
Version: 5.3.3

3
replies

Hi

When we deploy nuget packages we just copy the .nugkg file to the server feed folder

But then we cannot see the new package on the ProGet console

Is there a way to index the new package?

Thanks

Alberto

Product: ProGet
Version: 4.2.1

3
replies

I am wanting to execute a MSBuild script, not build a project or solution but just run a msbuild script, and the MSBuild Script action no longer exists. Just wondering if that is supposed to exist and will be added back?

Product: BuildMaster
Version: 5.3.3

2
replies

In BuildMaster I'm trying to set up a new server using private key credentials. Once I create the new key in BM I cannot view the key. The "Create Private Key Credential" page states:

"After the key pair is generated, a public key suitable for use in the authorized_keys file will be displayed when viewing the credential."

After I click "Create Credential" button the page navigates back to the server detail page and I cannot view the key.

Product: BuildMaster
Version: 5.3.2

1
replies

Hi,

There seems to be an issue when we have same package in two feeds.

For example. We have two feeds npm and npm-delegate and in both feeds we have register npm packages say bootstrap.

  1. When we issue the command "npm install bootstrap",at this point registry points to npm-delegate feed, we get the below error.

ArgumentException Can not add property dist to Newtonsoft.Json.Linq.JObject. Property with the same name already exists on object.: npm

  1. When registry is pointed to npm feed, and the command npm install bootstrap works fine.

It seems it looks for feed for which first time the package is registered. In this case bootstrap was first registered to npm feed and then to npm-delegate feed.

Regards Junaid

Product: ProGet
Version: 4.1.1

1
replies

Hi,

I have environment specific values in an XML, and an XSLT defining the config file as well as where the values need to be inserted, however im not quite understanding how it fits together - it only generates correctly when the XSLT is configured as the Instance and the environment specific values are defined as a Template. This seems back to front to me.

For it to generate a file with environment specific values for each environment, it seems to me that the values need to be in the instance, and the XSLT is the template.

Can you please advise where im going wrong?

Thanks,

Clint

Product: BuildMaster
Version: 5.3.3

2
replies

Just what the title says. I launch the nosql Proget installer, and it crashed. I get this message from the debug window that opens:

Problem signature:
  Problem Event Name:   CLR20r3
  Problem Signature 01: ProGet.Setup.exe
  Problem Signature 02: 4.2.1.8
  Problem Signature 03: 57991af8
  Problem Signature 04: System.Data
  Problem Signature 05: 4.6.1082.0
  Problem Signature 06: 573ea731
  Problem Signature 07: 1a41
  Problem Signature 08: 5c
  Problem Signature 09: System.Data.SqlClient.Sql
  OS Version:   6.3.9600.2.0.0.272.7
  Locale ID:    1033
  Additional Information 1: a401
  Additional Information 2: a4015330c8caa4f3119c16a65589db26
  Additional Information 3: 5666
  Additional Information 4: 566687a3ab72ccb4d535ae853d816226

Read our privacy statement online:
  http://go.microsoft.com/fwlink/?linkid=280262

If the online privacy statement is not available, please read our privacy statement offline:
  C:\Windows\system32\en-US\erofflps.txt

Product: ProGet
Version: 4.2.1

6
replies

I have a variable that I initialize outside of all blocks (so that it won't be scoped to a server or deployable). Then, I attempt to set it to a new value inside an async block. I know the set inside the async is working, because I can log the value. But, after the blocks are finished, the value has reverted back to the default set before the async.

Is there a way to persist the value after the async, or in other words, to have a thread safe variable?

Code:

set $ScriptError = P;

Log-Information $ScriptError;

with async
{
    set $ScriptError = X;

    Log-Information $ScriptError;
}

await;

Log-Information $ScriptError;

Output in Log:

P
X
P

What I want:

P
X
X

This is a simplified version of my code. In reality, I am running scripts on several servers simultaneously, and each server has its own variable in which to report status.

Product: BuildMaster
Version: 5.3.1

Ask A Question
Page: 1345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273