Support Q & A Home

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

Is there a way to make the auto Git-triggered build use the branch that actually triggered the build? It looks like you can only trigger a preset deployment plan with the branch predefined, and not make it build the relevant branch for that trigger.

Basically I'm trying to set up a deployment plan that can attempt to build and run unit tests every time someone pushes to any branch.

Is this possible?

Product: BuildMaster
Version: 4.7.4

3
replies

I get the following error from the NUnit extension after running the tests. System.FormatExcepyion: Input string was not in correct format. I'm using Windows Server 2012 Standard.

Maybe the extension doesn't specify CultureInfo.InvariantCulture in their Double.Parse call? I've tried changing the decimal separator in Windows Region settings but it didn't work.

Image Text

Same issue as this question: link text

Error outout:

run: 4, Errors: 0, Failures: 0, Inconclusive: 0, Time: 0,146542291976769 seconds INFO: Not run: 0, Invalid: 0, Ignored: 0, Skipped: 0 ERROR: An unhandled exception occurred while executing this action: System.FormatException: Input string was not in a correct format. at System.Number.ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt) at Inedo.BuildMasterExtensions.NUnit.NUnitAppAction.RunTests() at Inedo.BuildMaster.Extensibility.Actions.Testing.UnitTestActionBase.Execute() at Inedo.BuildMaster.Extensibility.Actions.ActionBase.ExecuteInternal(IActionExecutionContext context, ExtensionConfigurerBase extensionConfigurer, Boolean resumeNextOnError, Boolean logErrorsAsWarnings)

Product: BuildMaster
Version: 4.7.3

1
replies

Hi,

Besides the Users, Applications and Servers, is there any other limitation for the Free version of BuildMaster?

I remember that we used to have limitations for the number of deployables and/or configuration files. Don't we have these limitations anymore?

Thanks

Product: BuildMaster
Version: 4.7.3

3
replies

I'm trying to setup a connector to nuget but when I try and browse packages from my feed it times out with an error saying "There was an error with a connector: Unable to connect to remote server". From the same machine i am able to browse packages on nuget.org. The settings I have for the connector are:

url: https://www.nuget.org/api/v2/
name: nuget.org
username: blank
password: blank
timeout: 30 seconds
filters: *

Product: ProGet
Version: 3.7.0

6
replies

Hello there!

Is there a way to restart BuildMaster service from BuildMaster's UI?

On Service Status page does not have this option...Did this page use to have this option?

We are getting some errors that require to restart the service and we don't want to do this manually, on the server.

Thanks

Product: BuildMaster
Version: 4.7.3

1
replies

Hello,

A coworker of mine is attempting to use a Maven feed, and is having issues pushing to it. The following is a log of how he was attempting to use the feed, and the results. Is there something missing? What would need to change to get this to work?

Thanks, Erick

1) Configuration tested on: OS X 10.10

    javac -version
        javac 1.8.0_20

    mvn --version
        Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1; 2014-12-14T09:29:23-08:00)
        Maven home: /usr/local/Cellar/maven/3.2.5/libexec
        Java version: 1.6.0_65, vendor: Apple Inc.
        Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
        Default locale: en_US, platform encoding: MacRoman
        OS name: "mac os x", version: "10.10", arch: "x86_64", family: "mac"

# this page:

    http://proget/maven-feeds/allenai-pipeline

reports API endpoint:

    http://proget/maven2/allenai-pipeline

2) Steps to reproduce

2.1) Obtain junit source:

git clone git@github.com:junit-team/junit.git
cd junit
git checkout 00911b1

2.2) Edit as follows: +++ b/pom.xml @@ -84,16 +84,13 @@ </ciManagement> <distributionManagement> <downloadUrl>https://github.com/junit-team/junit/wiki/Download-and-Install</downloadUrl> - <snapshotRepository> - <id>junit-snapshot-repo</id> - <name>Nexus Snapshot Repository</name> - <url>https://oss.sonatype.org/content/repositories/snapshots/</url> - </snapshotRepository> - <repository> - <id>junit-releases-repo</id> - <name>Nexus Release Repository</name> - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> - </repository> + +<snapshotRepository> + <id>deployment</id> + <name>Internal Releases</name> + <url>http://proget/maven2/allenai-pipeline</url> +</snapshotRepository> + <site> <id>junit.github.io</id> <url>gitsite:git@github.com/junit-team/junit.git</url> @@ -447,26 +444,6 @@ --> <build> <plugins> - <plugin> - <!-- - The goal is to sign all artifacts so that the user may verify them before downloading. - The automatic build system may reuire your key ID, and passphrase specified using system properties: - -Dgpg.passphrase="<passphrase>" -Dgpg.keyname="<your key ID>" - In order to create the key pair, use the command "gpg ––gen-key". - (–– stands for double dash) - --> - <artifactId>maven-gpg-plugin</artifactId> - <version>1.6</version> - <executions> - <execution> - <id>gpg-sign</id> - <phase>verify</phase> - <goals> - <goal>sign</goal> - </goals> - </execution> - </executions> - </plugin> </plugins> </build> </profile>

2.3) publish

mvn compile
# succeeds:

mvn release:prepare 
# mvn deploy, with debugging output:
mvn deploy -e -X

3) results

- expected result:

    published files

- actual result:

    [DEBUG] Using transporter WagonTransporter with priority -1.0 for http://proget/maven2/allenai-pipeline
    [DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for http://proget/maven2/allenai-pipeline
    Downloading: http://proget/maven2/allenai-pipeline/junit/junit/4.13-SNAPSHOT/maven-metadata.xml
    [WARNING] Could not transfer metadata junit:junit:4.13-SNAPSHOT/maven-metadata.xml from/to deployment (http://proget/maven2/allenai-pipeline): Failed to transfer file: http://proget/maven2/allenai-pipeline/junit/junit/4.13-SNAPSHOT/maven-metadata.xml. Return code is: 500 , ReasonPhrase:Internal Server Error.
    org.eclipse.aether.transfer.MetadataTransferException: Could not transfer metadata junit:junit:4.13-SNAPSHOT/maven-metadata.xml from/to deployment (http://proget/maven2/allenai-pipeline): Failed to transfer file: http://proget/maven2/allenai-pipeline/junit/junit/4.13-SNAPSHOT/maven-metadata.xml. Return code is: 500 , ReasonPhrase:Internal Server Error.
        at org.eclipse.aether.connector.basic.MetadataTransportListener.transferFailed(MetadataTransportListener.java:43)
        at org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run(BasicRepositoryConnector.java:355)
        at org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:67)
        at org.eclipse.aether.connector.basic.BasicRepositoryConnector$DirectExecutor.execute(BasicRepositoryConnector.java:581)
        at org.eclipse.aether.connector.basic.BasicRepositoryConnector.get(BasicRepositoryConnector.java:222)
        at org.eclipse.aether.internal.impl.DefaultDeployer.upload(DefaultDeployer.java:417)
        at org.eclipse.aether.internal.impl.DefaultDeployer.deploy(DefaultDeployer.java:290)
        at org.eclipse.aether.internal.impl.DefaultDeployer.deploy(DefaultDeployer.java:245)
        at org.eclipse.aether.internal.impl.DefaultRepositorySystem.deploy(DefaultRepositorySystem.java:413)
        at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:139)
        at org.apache.maven.plugin.deploy.AbstractDeployMojo.deploy(AbstractDeployMojo.java:171)
        at org.apache.maven.plugin.deploy.DeployMojo.deployProject(DeployMojo.java:250)
        at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:169)
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
        at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:355)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:160)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
    Caused by: org.apache.maven.wagon.TransferFailedException: Failed to transfer file: http://proget/maven2/allenai-pipeline/junit/junit/4.13-SNAPSHOT/maven-metadata.xml. Return code is: 500 , ReasonPhrase:Internal Server Error.
        at org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.fillInputData(AbstractHttpClientWagon.java:1039)
        at org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.fillInputData(AbstractHttpClientWagon.java:977)
        at org.apache.maven.wagon.StreamWagon.getInputStream(StreamWagon.java:116)
        at org.apache.maven.wagon.StreamWagon.getIfNewer(StreamWagon.java:88)
        at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:61)
        at org.eclipse.aether.transport.wagon.WagonTransporter$GetTaskRunner.run(WagonTransporter.java:560)
        at org.eclipse.aether.transport.wagon.WagonTransporter.execute(WagonTransporter.java:427)
        at org.eclipse.aether.transport.wagon.WagonTransporter.get(WagonTransporter.java:404)
        at org.eclipse.aether.connector.basic.BasicRepositoryConnector$GetTaskRunner.runTask(BasicRepositoryConnector.java:447)
        at org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run(BasicRepositoryConnector.java:350)
        ... 32 more
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD FAILURE
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 18.793 s
    [INFO] Finished at: 2015-06-26T17:20:39-07:00
    [INFO] Final Memory: 11M/81M
    [INFO] ------------------------------------------------------------------------

Product: ProGet
Version: 3.6.1

3
replies

1) How can we find out who actually created the deployment plan?

2) Is there an audit trail of all the changes applied to a deployment plan and who made them?

Product: BuildMaster
Version: 4.7.3

1
replies

Is there a way to customize the eligibility of a build promotion? We would like to check a few more things on top of existing validators before a build can be promoted.

Product: BuildMaster
Version: 4.7.3

3
replies

I am behind a proxy and despite adding it to the config, and it validating ok when I tried to query the public NuGet or Chocolatey repos the connector told me there was a problem and didn’t seem to try to connect.

I can pull a package down manually and upload it to a local store but really I need to be able to proxy/mirror the internet repositories for resiliency.

Am I missing something in configuration to make this happen or is it just not supported?

Product: ProGet
Version: 3.7.2

2
replies

Hey

I was experimenting with Proget extensions and trying to track down some odd behaviour. Think I've managed to reproduce something similar. I have created a very basic extension and its all running ok. If I go to the proget advanced settings page and hit 'save settings', occassionally, maybe 1 in 3, I'll get a exception thrown. It looks like proget is unloading and reloading the extension but gets caught on one of the files in the Temp directory. Not always the same file either. The extension is no longer loaded. I'm not sure if this is the only way to reproduce the error. The stack dump shows

UnauthorizedAccessException: Access to the path 'TestPackageStore.dll' is denied. System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound) +14578821 System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost) +277 Inedo.ProGet.Extensibility.Management.ExtensionsVerifier.GetAssemblyLoadResults(String extensionsPath, String tempPath) +110 Inedo.ProGet.Extensibility.Management.ExtensionsManager.InitializeAssemblies() +273 Inedo.ProGet.Extensibility.Management.ExtensionsManager.InternalInitialize() +209 Inedo.ProGet.Extensibility.Management.ExtensionsManager.Initialize(String extensionsPath, String tempPath) +509 Inedo.ProGet.WebApplication.ProGetHttpModule.BeginFirstRequest(HttpApplication app) +1516 Inedo.Web.InedoHttpModule.<Initialize>b__8(Object s, EventArgs e) +148 System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +165

Thanks Sean

Product: ProGet
Version: 3.5.8

1
replies

Is there anyway to have Buildmaster use the TFS build number when doing scheduled Automatic Builds? The TFS build number only seems to get imported in when doing a manual Import Build.

Thanks!

Product: BuildMaster
Version: 4.7.3

2
replies

Hi,

When creating an execute powershell script action, you can pass through system/application variables by doing:

BuildNumber=BuildNumber

and then accessing via $BuildNumber in the script.

When I move this script into the script repository, there is a parameters section but no variables. Trying to pass variables into a parameter doesn't seem to work, so how would I go about accessing a variable from within my script? I've also tried using a Param() definition for the script.

Thanks.

Product: BuildMaster
Version: 4.7.3

1
replies

Hi everyone,

Actually i use the free version the ProGet.

I'm pushing a package to proget with server symbols and strip symbols files activate. The package was created with the -symbols option. This package symbols.nupkg has various pdb files. However, when it's imported to proget aren't all pdb files indexed to package.

How could I add theses pdb files to index to package?

Product: ProGet
Version: 3.7.1

1
replies

Hi team,

I have downloaded the BuildMaster installer for evaluation purpose, however, express edition and Enterprise edition seems to be greyed out..

Please advise.

Regards, Kashan Khan

Product: BuildMaster
Version: 4.7.3

7
replies

After upgrading, our NuGet connector no longer functions. When browsing the feed on ProGet it reports, "Unable to connect to the remote server". I also deleted the feed and re-created it using the default connector and settings (http://www.nuget.org/api/v2/). We are behind a proxy and the proxy settings are configured and test successfully when targeting https://www.nuget.org and http://www.nuget.org.

We can access NuGet directly through the proxy just fine.

Thanks, Andy

Product: ProGet
Version: 3.7.1

2
replies

It takes many seconds to browse or search through a ProGet NuGet feed from Visual Studio (both proxy feeds to nuget.org and private feeds). Sometimes we even need to cancel the search operation and retry because we get no results.

I already tried some things which seem to be an improvement:

  • Configure the IIS application pool StartMode to AlwaysRunning

  • Configure the IIS website to Preload Enabled = True

  • Check the ProGet cleanup interval: for all feeds this is a frequency of 1 day between 2:00 and 7:00. I read that ProGet reindexes feeds whenever cleanup occurs and that this slows down a lot; however nobody works between those hours.

  • Configure the IIS application pool Recycling Regular Time Interval. This has a default value of 1740 minutes or 29 hours. I have set this to 0.

  • Configure the IIS application pool Idle Time-Out: it is set to 10 minutes by default. I have set the Idle Time-Out to 0 (=never let the IIS worker process shut down).

  • Configure the IIS application pool Specific Times: 01:00:00.

Are there any other measurements I should take or do you have more advice?

I recently upgraded to ProGet 3.6.1 (Build 6) and I'm using IIS hosting and a SQL Server Express database.

Product: ProGet
Version: 3.6.1

1
replies

How to add TFS source control in build master ?

Product: BuildMaster
Version: 4.7.3

1
replies

Successfully installed Build Master on 2012 server, with database in SQL 2014. I set it up to use integrated security and added the app-pool user to the database with BuildMasterUser_Role AND db_owner role. Yet when I run webapp on localhost:81 I get the error: Could not find stored procedure 'Configuration_GetConfiguration'. The store proc is in the database. What is it the I need to do to make it work. Here is the stack trace it is showing with the error:

[SqlException (0x80131904): Could not find stored procedure 'Configuration_GetConfiguration'.] System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action1 wrapCloseInAction) +388 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) +815 System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) +4515 System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() +69 System.Data.SqlClient.SqlDataReader.get_MetaData() +134 System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +6553981 System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds) +6556619 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource1 completion, Int32 timeout, Task& task, Boolean asyncWrite) +586 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +104 System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) +288 System.Data.SqlClient.SqlCommand.ExecuteReader() +302 Inedo.Data.SqlServerDataFactory.ExecuteDataSet(String storedProcName, String[] tableNames, IList`1 parameters) +112 Inedo.Data.WrappedStoredProcedure.ExecuteDataTable() +110 Inedo.BuildMaster.Configuration.Sources.DatabaseConfigSource.ReadConfigValue(String scope, String key) +158 Inedo.BuildMaster.Web.WebApplication.WebConfig.get_IntegratedAuthenticationEnabled() +76 Inedo.BuildMaster.Web.WebApplication.BuildMasterHttpModule.AuthenticateRequest(HttpApplication app) +398 System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +165

Product: BuildMaster
Version: 4.7.3

3
replies

I'm testing out the maven feed, and I noticed the disk path doesn't seem to be something I can update in the Proget UI.

For example, my maven feed's path is:

C:\ProgramData\ProGet\Packages.maven2\F9

and there doesn't seem to be a way to change it using the "Manage Feed" section.

Can this value be changed, so I can have this pointing to a separate disk location? If so, how?

Also I noticed there doesn't seem to be a distinction between snapshot and release feeds like you might find in other repo managers, like archiva, nexus, etc. That's probably OK, but I just wanted to know if that's correct? Or am I'm seeing side effects of using the free version of ProGet?

Thanks

Product: ProGet
Version: 3.7.1

1
replies

For example, when creating an artifact it would be useful to name it $DeployableName_$BuildNumber, or $DeployableName_$Date1_$BuildNumber. However, the only function I've had any success with so far is $BuildNumber - the others in this example are simply treated literally. Is this expected behaviour? Is there any documentation that covers which functions can be used in which situations?

Thank!

Product: BuildMaster
Version: 4.7.3

Page: 134567891011121314151617181920212223242526272829303132333435363738394041424344454647