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

We have an execution plan whose job it is to execute a number of unit tests across a range of test projects.

On completion of the tests, we're currently posting out a notification which contains a link to the test-results page as follows:

set $TestResultsUrl = http://ourbuildserver/executions/test-results?executionId=$ExecutionId

set $testsCompletedNotifcationMessage = $ApplicationName - $ReleaseName finished executing\n<$TestResultsUrl|Results>;

Is there a system variable or function for getting the actually results summary (as presented on the test-results page) within the execution context so we can include it in the notification message body too?

Product: BuildMaster
Version: 5.6.8

1
replies

The built-in package number function is:
$PackageNumber([releaseNum], [furthestOrLatest], [appName])

How does this translate to current package number in context? Imagine multiple package in the release, earlier package calling this function may get later package number?

How to get current package number in confidence?

Product: BuildMaster
Version: 5.6.8

1
replies

Is it possible to determine whether a stage will be run or bypass based on certain variable specified in each release.

For example, I have a stage to restart server, however, not every release it needs to be restarted. By default it will restart, but user will have the option to disable that stage in each release.

I know it might be possible include this condition in a defined operation, but its visibility is not as good as having a condition on the pipeline directly.

Product: BuildMaster
Version: 5.6.8

3
replies

Example repo on github here: https://github.com/nspottsie/inedo-proget-sbt-publish-example

Issue

When publishing a SBT plugin to ProGet, the publish step fails.

Steps to Reproduce

  1. SBT is installed on your machine http://www.scala-sbt.org/release/docs/Installing-sbt-on-Linux.html

  2. cd to repo root

  3. Modify build.sbt to point to ProGet server

     Here it assumes there’s one running on localhost:8080 and that there is a user named publisher who has permission to publish packages.
    
     Build.sbt also assumes there’s a maven feed named maven-libraries
    
  4. Run sbt publish on the command line

Expected Results

sbt-test-plugin-1.0.35 is published to Proget

Actual Results

[info] Packaging /Users/je185066/repos/silver/samza-sbt/proget-repro/target/scala-2.10/sbt-0.13/sbt-test-plugin-1.0.35-sources.jar ...
[info] Done packaging.
[info] Updating {file:/Users/je185066/repos/silver/samza-sbt/proget-repro/}proget-repro...
[info] Wrote /Users/je185066/repos/silver/samza-sbt/proget-repro/target/scala-2.10/sbt-0.13/sbt-test-plugin-1.0.35.pom
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[info] Done updating.
[info] :: delivering :: com.test#sbt-test-plugin;1.0.35 :: 1.0.35 :: integration :: Mon Mar 06 11:40:36 EST 2017
[info]      delivering ivy file to /Users/je185066/repos/silver/samza-sbt/proget-repro/target/scala-2.10/sbt-0.13/ivy-1.0.35.xml
[info] Main Scala API documentation to /Users/je185066/repos/silver/samza-sbt/proget-repro/target/scala-2.10/sbt-0.13/api...
[info] Compiling 1 Scala source to /Users/je185066/repos/silver/samza-sbt/proget-repro/target/scala-2.10/sbt-0.13/classes...
model contains 6 documentable templates
[info] Packaging /Users/je185066/repos/silver/samza-sbt/proget-repro/target/scala-2.10/sbt-0.13/sbt-test-plugin-1.0.35.jar ...
[info] Done packaging.
[info] Main Scala API documentation successful.
[info] Packaging /Users/je185066/repos/silver/samza-sbt/proget-repro/target/scala-2.10/sbt-0.13/sbt-test-plugin-1.0.35-javadoc.jar ...
[info] Done packaging.
java.io.IOException: PUT operation to URL http://localhost:8080/maven2/maven-libraries/com/test/sbt-test-plugin_2.10_0.13/1.0.35/sbt-test-plugin-1.0.35.pom failed with status code 500: Internal Server Error```

#### Server Log

```Unhandled exception processing /maven2/maven-libraries/com/test/sbt-test-plugin_2.10_0.13/1.0.35/sbt-test-plugin-1.0.35.pom
System.ArgumentNullException: Value cannot be null.
Parameter name: package
at Inedo.ProGet.Feeds.Maven.MavenFeed.InstallPackage(String groupId, String artifactId, String version, String package, Stream packageStream)
at Inedo.ProGet.WebApplication.SimpleHandlers.Maven.MavenHandler.ProcessRequest2(HttpContext context)
at Inedo.ProGet.WebApplication.SimpleHandlers.Maven.MavenHandler.ProcessRequestInternalAsync(HttpContext context)
at Inedo.ProGet.WebApplication.SimpleHandlers.ApiHandlerBase.<ProcessRequestAsync>d__0.MoveNext()```

#### Root Cause
SBT plugins are designed to be cross compiled for multiple scala and sbt versions, and so when IsPlugin := true is added to a build.sbt file, and the artifact is published, it is published to a url containing the artifact name which contains the scala version, and sbt version.  For example, http://localhost:8080/maven2/maven-libraries/com/test/sbt-test-plugin_2.10_0.13/1.0.35/sbt-test-plugin-1.0.35.pom. But, the file name does not contain those two pieces of information. The MavenRequestInfo.PackageType method expects that both parts match, and when it doesn’t, it returns null for the package type. This generates a NullArgumentException during the publish stage.

Product: ProGet  
Version: 4.7.6
1
replies

Hello,

I got a few questions regarding proget
- Linux version of proget (realistically is that coming q1 of this year?)
- can proget support windows 2016 server core?
- we currently purchased the 3 server load balanced edition, does that come with only one index node?  (does that consume a license ?)
- please explain in detail what does Automatic Failover mean in the "enterprise" version?  
- question regarding shared storage (can it support DFS smb?)

Thank you
Rui Su

Product: ProGet
Version: 4.7.6

1
replies

I am looking to automatically create a new release using the "Create Release" endpoint (/api/releases/create). Unfortunately, it does not look like that endpoint supports specifying a release template although the JSON Native API (Releases_CreateOrUpdateRelease) does support it. For now I am just using the Native API but given the sentiment that the Native API is not guaranteed to have the same stability as the Release API it would be nice if the same functionality could be brought over to the newer API.

Furthermore, it seems that a Pipeline_Id is required in order to use the Releases_CreateOrUpdateRelease call which is somewhat unintuitive since a template is meant to specify the pipeline used by a release. A newly created release will have the pipeline specified by the Pipeline_Id instead of the tempale's pipeline. To get around this before creating the new release I first have to make a call to ReleaseTemplates_GetTemplateByName. Then I parse the ReleaseTemplate_Configuration that is returned for the Pipeline attribute. Next, I have to make a call to Pipelines_GetPipelines and compare the results to find the matching Pipeline_Name before finally getting the correct Pipeline_Id to pass into Releases_CreateOrUpdateRelease. It would be nice if either the Pipelin_Id parameter was optional or the template's pipleline took precedent.

Product: BuildMaster
Version: 5.6.8

1
replies

When I was first starting off with ProGet, some of the packages got tagged with an incorrect build date. Now I keep getting an update request for an older version of the package. I've tried deleting it, but every so often it comes back. How do I permanently delete a package?

Product: ProGet
Version: 4.7.6

4
replies

Hello,

I have spotted behavior, which I'm pretty sure wasn't there before. Consider 2 scenarios:

  1. Build from newly created branch
    BM first "finds local branch" with the specified name. The branch isn't there yet locally (it was newly created, no fetch performed by BM). BM fails, stating the branch could not be found, but as a part of the step performs a fetch - next attempt is successful. Expected behavior is:
  • no need for running build step twice, BM should find newly created branches right away, like it used to be
  • BM first performs fetch, so that BM local repo is aware of the new branch, before it attempts checkout.
  1. Deleted branch (not sure if this is a changed behavior, just spotted it when analysing scenario 1)
    BM first "finds local branch" with the specified name. The branch is still there locally (no fetch performed by BM) and build step finishes successfully without notifying user that they are trying to build a deleted branch. This doesn't get fixed even after fetch, the branch still stays there locally. Expected behavior:
  • BM keeps track of central origin repo and doesn't keep deleted branch locally.
  • BM warns user that they are trying to build off-of non-existing branch.

Were these changes introduced to follow some new logic, or is it a bug?

Thank you,
Milan

Product: BuildMaster
Version: 5.6.8

3
replies

I'm wondering if it's possible to configure a Buildmaster plan to only build/deploy to an environment if a separate, external application has been built to that same environment as well -- i.e., one application build depends on another application build

Product: BuildMaster
Version: 5.6.8

2
replies

Is it possible from within a plan to use the Role or Server set in the Servers or Roles setting on a Stage in the Pipeline?
I tried using ServersInRole without giving it a role but it doesn't seem to use the setting from the Pipeline.

Product: BuildMaster
Version: 5.6.8

1
replies

I know that with various git products I can have a URL get fired on submission of a pull request, etc. Does Proget support the same feature, and can you point me to the API documentation please?

Thanks!

Product: ProGet
Version: 4.6.3

7
replies

We're new to ProGet. We've only recently started using Octopus Deploy. One project has 43 NuGet packages. These were kept on a simple file server (nothing special). Our next phase is to implement more secure package server and ProGet was chosen.

Using TeamCity to build the NuGet packages, we have no problem in getting these on the ProGet server.

However, Octopus Deploy experiences severe delays when trying to deploy multiple packages, to the point where the Octopus component on the target server (the Tentacle) times out and terminates the connection, resulting in a deployment failure.

Testing with a single package from the ProGet server, it takes Octopus 10-15 seconds to acquire the package. If I test using 2 packages, it takes 120 seconds.

Note, that over time, we're seeing some improvement. At first, we couldn't do 3 or more packages before it failed. Now we seem to get 4 or more, and the time to acquire is getting shorter, as if there is some caching going on.

Is there something we need to do to get more caching setup?
is there something we need to do to get better performance overall?

Note: I can do a simple SQL script and interrogate the database in a split second to find the package (but that's not downloading it). However, in Octopus, we can "test" the external feed by submitting a package name, and it will return the available version. this takes 10-15 seconds.

I am asking both Inedo and Octopus Deploy for help with this.

the performance we have right now is not acceptable. Please help or provide information on how we can get this better.

Product: ProGet
Version: 3.8.6

1
replies

This is a repeat question I've asked before. The previous responder believed specifying multiple setting would then be concatenated but this doesn't appear to be the case.

Is there a solution for this?:

Hi

I need to specify mutliple paths to MSBuild via ReferencePath.

Specifying one path works fine, but when I specify two, separated by a semi-colon, I get an "MSBUILD : error MSB1006: Property is not valid." error reported for the second path.

I Googled this and tried various suggestions by BuildMaster wraps-up inside double quotes whatever I enter - and this seems to prevent me from fixing the issue.

Please advise ASAP.

Tim

Product: BuildMaster
Version: 4.6.4

2
replies

Feeds with a connector to nuget.org are returning errors (both in Proget 4.7.4 and 4.7.6):

[nuget.org-microsoft.net-proxy] The V2 feed at 'https://packages.tobania.be/nuget/packages.org-microsoft.net-proxy/Search()?$filter=IsLatestVersion&searchTerm='entity'&targetFramework='net40'&includePrerelease=false&$skip=0&$top=26' returned an unexpected status code '500 Object reference not set to an instance of an object.'.
[nuget.org-proxy] The V2 feed at 'https://packages.tobania.be/nuget/packages.org-proxy/Search()?$filter=IsLatestVersion&searchTerm='entity'&targetFramework='net40'&includePrerelease=false&$skip=0&$top=26' returned an unexpected status code '500 Object reference not set to an instance of an object.'.

Searching on nuget.org/packages/ does not return any errors.

Product: ProGet
Version: 4.7.6

1
replies

Hi,

I need to install nuget from private feed, which needs login details to install through nuget command line tool.

Used Nuget version: 3.5.0.1938

  1. When I use feed url(http://myserver/feeds/restricted) to authenticate and then install, I get an error as

"An error occurred while retrieving package metadata for 'mypackage.1.0.0' from source 'restricted'. The V2 feed at 'http://myserver/log-in/FindPackagesById()?id='mypackage'' returned an unexpected status code '404 Not Found'.

  1. When I use feed url(http://myserver/nuget/restricted) to authenticate and then intall,I get an error as

"An error occurred while retrieving package metadata for 'mypackage.1.0.0' from source 'http://myserver/nuget/restricted'. The V2 feed at 'http://myserver/nuget/restricted/Packages(Id='mypackage',Version='1.0.0')' returned an unexpected status code '401 Unauthorized'."

When I use method '1' authentication is fine, but it could not find the package.
In method '2' it can find the package but cannot authenticate.

Is there any work around to get this working?
Or Is this bug from Nuget.exe that it's not possible to install the package from private feed that needs login details?

Thank You,
Bhavani

Product: ProGet
Version: 4.7.6

1
replies

Running proget on linux version 4.7.6 attempting to set up replication to an external feed results in a 500 error, shown below. This is slightly different from a previous error, but on a different function. http://inedo.com/support/questions/6046

Npgsql.PostgresException
42883: function Feeds_SetFeedProperty(@Feed_Id => integer, @Feed_Name => text, @Feed_Description => text, @Active_Indicator => text, @Cache_Connectors_Indicator => text, @FeedType_Name => text, @DropPath_Text => text, @FeedPathOverride_Text => text, @PackageStoreConfiguration_Xml => text, @SyncToken_Bytes => bytea, @SyncTarget_Url => text, @AllowUnknownLicenses_Indicator2 => text, session_user_name => text) does not exist

Description: HTTP 500.Error processing request.
Details: Non-web exception. Exception origin (name of application or object): mscorlib.
Exception stack trace:
at Npgsql.NpgsqlConnector.DoReadMessage (Npgsql.DataRowLoadingMode dataRowLoadingMode, System.Boolean isPrependedMessage) [0x000bc] in <4985dea8374f4819bebb7847d95ad483>:0
at Npgsql.NpgsqlConnector.ReadMessageWithPrepended (Npgsql.DataRowLoadingMode dataRowLoadingMode) [0x00056] in <4985dea8374f4819bebb7847d95ad483>:0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <f712f98eb8e445c8918edaf595bbe465>:0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <f712f98eb8e445c8918edaf595bbe465>:0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <f712f98eb8e445c8918edaf595bbe465>:0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <f712f98eb8e445c8918edaf595bbe465>:0
at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in <f712f98eb8e445c8918edaf595bbe465>:0
at System.Web.TaskAsyncResult.Wait (System.IAsyncResult result) [0x0003a] in <e6ac3c4d7fe1491da2402c546c0c1c72>:0
at System.Web.HttpTaskAsyncHandler.System.Web.IHttpAsyncHandler.EndProcessRequest (System.IAsyncResult result) [0x00000] in <e6ac3c4d7fe1491da2402c546c0c1c72>:0
at Inedo.Web.Handlers.AsyncHandlerWrapper.EndProcessRequest (System.IAsyncResult result) [0x00000] in <5d9d4193190f47e084f1e690df2ccb3a>:0
at System.Web.HttpApplication.async_handler_complete_cb (System.IAsyncResult ar) [0x0001e] in <e6ac3c4d7fe1491da2402c546c0c1c72>:0
Version Information: 4.8.0 (Stable 4.8.0.495/e4a3cf3 Wed Feb 22 18:30:58 UTC 2017); ASP.NET Version: 4.0.30319.42000

Product: ProGet
Version: 4.7.6

1
replies

Hi,

We have a windows UAP projects, from the public nuget server it can see this package:
https://www.nuget.org/packages/M2Mqtt/
However if I add that package to our proget server it does not appear. I narrowed it down that the package must have target uap10.0 as a target for it to appear from the proget feed. Can I change this, win81 targets are valid for a UAP projects. Can I make proget like the public nuget feed?
Thanks,
Philip

Product: ProGet
Version: 4.7.5

2
replies

I've recently added a new raft to our setup to maintain/version control our setup and its creating some issues:

Orchestration Plan Templates no longer retain the Plan Name when going to Create a Job and loading the template. You have to manually select the plan name again to match it up.

The visual editor doesn't appear to like template assets that are stored in the new raft and is creating an "Expected template name" error in the text editor when trying to Call the template asset.

Are there any potential fixes or is something wrong with my raft setup?

Product: Otter
Version: 1.5.3

1
replies

I cannot push a nugget versioned like 1.0.0-rc1.1234
(However I can push a nugget versioned like 1.0.0.1234)
Please advice.
Here is the output of running the command:

nuget push MyDLL.1.0.0-rc1.1234.nupkg -Source http://progeturl/nuget/nuget -ApiKey user:pass
Pushing MyDLL.1.0.0-rc1.1234.nupkg to 'http://progeturl/nuget/nuget'...
PUT http://progeturl/nuget/nuget
InternalServerError http://progeturl/nuget/nuget 115ms
PUT http://progeturl/nuget/nuget
InternalServerError http://progeturl/nuget/nuget 86ms
PUT http://progeturl/nuget/nuget
InternalServerError http://progeturl/nuget/nuget 94ms
Response status code does not indicate success: 500 (There was an error processing the request: Invalid version number.)
.

Product: ProGet
Version: 4.2.0

1
replies

We use ProGet,when I configurate License Rule,there is a question.
The following is my configuration:

All Settings in ProGet Page

Feeds.AllowUnknownLicenseDownloads Allow

Manage Feed Properties Page

Unknown Licenses block

According to the Document: "License filtering can be configured on a feed-by-feed basis and at the global level. Feed-level rules override global rules, allowing users to configure rules that fit their specific use. "

But I can still download the packages under unknown license.

Why?

Looking forward to your reply soon!

Thanks.

Product: ProGet
Version: 4.7.5

Ask A Question
Page: 13567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889