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 86 of 94 (20 questions out of 1879)
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.

2
replies

We have installed the Jenkins extension but the Buildmaster extensions page always says Jenkins is v0.0.0.0 and should be upgraded. Other than that the Jenkins integration seems to work.

Here is the text from the Buildmaster Extensions page:
Jenkins (v0.0.0.0)
Contains actions to get artifacts and trigger builds in Jenkins. Update Available (v3.0)

2
replies

I am wanting to use the subversion Get Latest action to check out files on a Solaris target which has been setup as a Linux SSH Agent.

The Get Latest fails with the following exception:

Action 1: Get Latest from CusmodServer/scripts/trunk to /appl/cusdev/scripts
Preparing remote servers for execution...
Preparing DEV_dwdcs-cmas01_cusdev for execution...
Preparing SYBDEV_dwdcs-cmas01 for execution...
Preparing DEV_dwdcs-cmas01_cusbld for execution...
Preparation complete.
Initializing action...
An unhandled exception occurred while executing this action: System.InvalidOperationException: Action is not supported on this type of agent (requires IPersistedObjectExecuter) at Inedo.BuildMaster.Windows.ServiceApplication.SlimPlanActionExecuter.RemoteAction_InitializeRemoteConfiguration(Object sender, RemoteConfigurationEventArgs e) at System.EventHandler`1.Invoke(Object sender, TEventArgs e) at Inedo.BuildMaster.Extensibility.Actions.RemoteActionBase.OnInitializeRemoteConfiguration(RemoteConfigurationEventArgs e) at Inedo.BuildMaster.Extensibility.Actions.RemoteActionBase.OnBeforeExecute(EventArgs e) at Inedo.BuildMaster.Extensibility.Actions.ActionBase.Execute(IActionCancellationToken cancellationToken, ExecutionContext context, ExtensionConfigurerBase extensionConfigurer, Boolean resumeNextOnError, Boolean logErrorsAsWarnings)

11
replies

We are trying to use the Transfer File action copy files from one unix machine to another (both are setup as Agents Buildmaster can login).

But when we run the action it always fails with the error: source file does not exist - even if you select the folder using the Browse option.

Does the Transfer File option work with unix machines or should we be doing this some other way ?

2
replies

Hi, We are using the linux SSH-Agent (3.10.01) to execute a shell script on a linux target and Buildmaster (3.5.10 build 6) always thinks the step is successful regardless of the return code. I have tried sh, ksh and bash scripts but cannot get Buildmaster to register a failure.

Do you have any suggestions on what I am doing wrong ?. Thanks.

2
replies

I'm trying to use the SVN source control provider with an SSH agent, but I get this error: "AgentId is invalid or did not return an IPersistedObjectExecuter"

Any suggestions?

3
replies

Does BuildMaster support adhoc deployments to environments?

For our core environments we have a strict worklfow - dev, sit, uat, preprod, production, but we also have some other environments for a completely separate team who's system links to ours but have it installed in isolation to ours so not impacting on each other.

I would like to have their environments in our workflow but able to release to it at any time.

I had thought of creating additional workflows, for each adhoc environment but that means creating a new release for each additional workflow which doesn't really fit.

2
replies

The BuildMaster Service was not starting, probably after the lastest windows updates were applied. First discovered the problem with Jenkins and found this advice

https://issues.jenkins-ci.org/browse/JENKINS-15596

which worked so I also applied it to BuildMaster in bmservice.exe.config:
<runtime>
<generatePublisherEvidence enabled="false"/>
</runtime>

This also worked. Is this a known issue and is there a better work around / patch for it?

3
replies

Hi, getting an error on the setup wizard, after specifying our source control (and SVN instance), and then the path, and error like:

Exception Details: System.InvalidOperationException: svn: E155007: 'C:\WINDOWS\Temp\tmpBC6F.tmp' exists and is not a directory

Note the above is with the source control set to use the command line client. If not ticked, the error is similar but this:

Exception Details: SharpSvn.SvnInvalidNodeKindException: 'C:\WINDOWS\TEMP\tmpBC82.tmp' exists and is not a directory

Ie. same problem but from somewhere else.

Subversion is 1.7.8 and connection checked as Ok (indeed when setting up for this project, selector allows selection).

No idea how to fix this, and as such at a dead end. Thanks for any help or pointers.

Ask A Question
Page: 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848688899091929394