Thanks. We do have the Integrated Authentication enabled as most of our users are Windows users. So it sounds like that is the issue.
Beyond that I have it setup right now without any View/Download restrictions other than the allowing the Anonymous.
Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
Posts
-
RE: Proget feed access for anonymous not working
-
RE: Proget feed access for anonymous not working
Couple of added info, we are on 4.8.6 if that matters. I accidentally picked the wrong version.
Also, I did add Anonymous User with View/Download but it still fails. -
Proget feed access for anonymous not working
We are using LDAP, now legacy, and I have the View/Download setup with No Restrictions and No Permission settings. Under the Built-in account management Anonymous is still set to View/Download.
I have several users doing dev on MAC systems using VS on them and anonymous access is not working for them.
This is the case for others on Windows as well, basically everyone has to login even though I have the feeds unrestricted.
Is this expected? How would I make this work?Product: ProGet
Version: 4.8.7 -
RE: Pipeline fork - multiple customers
I have a similar situation.
For us we setup a db that I query from the executing plan to establish which customers can be upgraded/installed during a deployment per server in a role within the environment/stage.
What this doesn't solve for us is being able to automate that fully. We can for the first time it is deployed but subsequent runs have to be started manually. At least until BuildMaster will allow you to schedule a Re-Deployment to a Stage via UI or via API calls.We then handle the approvals via a front-end to that db.
Another possible solution for you, you can create multiple Stages all within the one Environment. So you could have a Customer1 Stage, Customer2 Stage, etc. Each with their own approval rules, deployment Windows, pipeline variables, etc. This method really depends on how many customers you need to do this for, to many and your Pipeline will be a bit cumbersome.
-
RE: AcquiredServers not returning any values
I see what happened, I looked under Servers where I would have thought that info would be but instead it's under General in the docs.
-
RE: AcquiredServers not returning any values
Well I just got this from your documentation, which doesn't mention ServersInRole, http://inedo.com/support/documentation/buildmaster/reference/functions
I'll give that a shot though.
-
RE: AcquiredServers not returning any values
It appears @AcquiredServers function does not work at all.
I created a test role with no spaces and it still does not return any servers. -
AcquiredServers not returning any values
I am trying to get a list of servers from a specific role but when I use the AcquiredServers(rolename) I get nothing back even thought there are servers in the role.
The role name does contain spaces.Should this be working? Are the spaces an issue, if so anyway to work around it?
Product: BuildMaster
Version: 5.7.3 -
Recurring Release Package Trigger issue
I was attempting to set a app to use a Recurring Release Trigger and I set it to run once per day at 4am. Saved it, this was about 2pm, and it ran right away.
Am I missing something with this? Is this a bug?
I had to disable it because it's not doing what would be expected and now have to manually run the builds.Product: BuildMaster
Version: 5.7.3 -
RE: Powershell script works outside BuildMaster but not from BuildMaster
I should clarify my last post, it does a Return Select 0 only when it is successful.
-
RE: Powershell script works outside BuildMaster but not from BuildMaster
I believe we finally figured out the issue.
The Invoke-Sqlcmd does not pass thru plain return values and when run via BuildMaster this was causing the execution to fail. I say while in BuildMaster as I can execute the exact same script outside BuildMaster and not have an error. Even though the try/catch is in the powershelll script.
I know it shouldn't matter about BuildMaster, just explaining what is occurring.In any event if we change the Stored Procedure to do a Return Select 0 rather than Return 0 I can then remove the try/catch and use an IF on the returned row value in the Powershell script.
Once I did that it is working.
-
Powershell script works outside BuildMaster but not from BuildMaster
I have a Powershell script the executes a stored procedure and the output to BuildMaster shows all the params it is passing and all the values are correct. However, it will fail complaining about a param of S and a Null value. There is no Null value being passed nor is the any param of S.
I can take the exact output that is shown in the BuildMaster log and execute that SP in the db and it works without issue.I can even take the Powershell script and run it with the same values and it will run.
Does BuildMaster parse the scripts before running them? This is a script saved in the Script Assets area of BuildMaster.
Does it run Powershell in some different way? Just trying to figure out why this is happening when I can run it outside BuildMaster just fine.
This particular SP uses a combination of Strings and Ints for params.I know it's not a permissions issue or an SP execution permission as there are some simpler ones that do work.
Here is what I am doing:
param([string]$dbServer,[string]$dbName,[string]$SerCustId,[string]$CurVersion,[string]$SerEventLogName, [string]$SerInboundIp,$SerInboundPort,$SerMarketId,[string]$SerOrderImageUrl,[string]$SerOutboundIp, $SerOutboundPort,[string]$SerRuntimeUser,[string]$SerRuntimeUserPwd,[string]$SerSMPatientId,[string]$InstallPath, [string]$SerLogsPath,[string]$SerInboundLogsPath,[string]$SerOutboundLogsPath) import-module SQLCmd try { $sqlQuery = "exec usp_SerCustomer_Search '"+ $SerCustId +"', NULL, NULL" $dbChk = Invoke-SqlCmd2 -ServerInstance $dbServer -Database $dbName -Query $sqlQuery -ErrorAction Stop } Catch { write-error "Error: Failed to execute usp_SerCustomer_Search stored procedure. Error Info: $_ " } if ($dbChk.Table.Rows.Count -gt 0) { $conCurRec = $dbChk.ConcurrencyRecord $sqlQuery = @" exec usp_SerCustomer_Update '$SerCustId', '$InstallPath', '$CurVersion', $conCurRec, '$SerRuntimeUser', '$SerRuntimeUserPwd', '$SerLogsPath', '$SerEventLogName', '$SerInboundIp', $SerInboundPort, '$SerInboundLogsPath', '$SerOutboundIp', $SerOutboundPort, '$SerOutboundLogsPath', '$SerOrderImageURL', '$SerSMPatientId' "@ } elseif ($dbChk.Table.Rows.Count -eq 0) { $sqlQuery = @" exec usp_SerCustomer_Insert '$SerCustId', '$InstallPath', '$CurVersion', '$SerRuntimeUser', '$SerRuntimeUserPwd', '$SerLogsPath', '$SerEventLogName', '$SerInboundIp', $SerInboundPort, '$SerInboundLogsPath', '$SerOutboundIp', $SerOutboundPort, '$SerOutboundLogsPath', '$SerSMPatientId', $SerMarketId, '$SerOrderImageURL' "@ } try { Invoke-SqlCmd2 -ServerInstance $dbServer -Database $dbName -Query $sqlQuery -ErrorAction Stop } Catch { write-error "Error: Failed to execute stored procedure to Update or Insert Customer settings. Error Info: $_ " }Product: BuildMaster
Version: 5.7.3 -
Artifact Extraction is locking up
I am having an issue with the Inedo agent locking up when extracting an artifact on a server.
We've disabled AV, the agent is running as LocalSystem. The App Pools using the destination are stopped.
This also causes the BuildMaster server to continue to keep the Executer as running even after doing a Cancel Execution.
I've checked that no files are being accessed in the destination folder.Any ideas?
Product: BuildMaster
Version: 5.7.3 -
Ensure Virtual Directory with UNC path not working
I am trying to use Ensure Virtual Directory that is using a path to a network location with a UNC path. This works fine from IIS directly but when I try to use Ensure Virtual Directory it complains about the 's in the path.
I've tried escaping them with extra slashes without success is there some way to make this work?Product: BuildMaster
Version: 5.7.3 -
Problem using PSEval
I'm sure I'm just doing something wrong here but I haven't been able to figure it out.
I'm trying to use PSEval in the following:set $regExists = $PSEval(Test-Path $regPath);The reg path being used is like this:
HKLM:\SOFTWARE\Wow6432Node\Solutions\Interface (node)When it is run via Powershell directly I get true or false. When I run it via a plan in BM i get the Cannot assign a Vector value to a Scalar variable error.
I've tried variations as well, such as forcing it to string like so:
set $regExists = $PSEval((Test-Path $regPath).ToString());But that ends up giving an error about Missing closing ')' in expression.
which there isn't one missing.Product: BuildMaster
Version: 5.7.3 -
Artifact Comparison report not reporting changes
The Artifact Comparison report never shows any changes. This is even when there have been changes.
The action does run successfully but just never shows any differences.
Should it show differences if files have changed or only if new files are added?Product: BuildMaster
Version: 5.6.11 -
Deployed files have incorrect time stamp
I'm not sure how long this is going on as I had not noticed it and someone else brought it my attention.
First let me say that the all of the machines involved are on the same time zone.I grab an artifact from Jenkins, create a BM artifact and then it gets deployed.
The BM artifact, if I download it and examine it, has the correct time stamps.
When the files are deployed to the server they end up with a different timestamp, same date but way off on the time. For example I did on that the time stamp for the files should be 325pm but on the machine it is deployed to it is 825am.
The files are the correct versions so it's just a confusing thing to people.Product: BuildMaster
Version: 5.6.11 -
Question on Pipeline variables
If I have a set of pipeline variables set for a stage and then change those values in the plan during a certain task shouldn't the variable now be that value for the rest of that plan?
The value is changed in one section and then later it is used in another section. At the later point it's back to what the value is set to in the pipeline.
It is all run on the same server and same for the same deployable.
Sample code of what I'm talking about:#general { set $pipelinevar1 = somevalue; Log-Information value is as set here: $pipelinevar1; } #general { Log-Information value is as set in pipeline here: $pipelinevar1; }Product: BuildMaster
Version: 5.6.11 -
Intermittent error with Ensure Application Pool
I am getting an intermittent Unhandled Exception error for Ensure Application Pool when it gets to it's step of Applying Configuration. This is using all of the same property values, same server, same time of day it's run nightly but it will fail with this error intermittently. It will also occur intermittently when run it manually.
This app pool does previously exist in the environment this error occurs in. At this time I cannot move to a new environment to see if it occurs there.
I've been unable to find any other reason for this error, the server is not down - several steps prior to this one succeed on the same server, no event log errors on the server of any kind.
Here is the error info:
Applying configuration... Unhandled exception: System.Runtime.InteropServices.COMException (0x800710D8): The object identifier does not represent a valid object. (Exception from HRESULT: 0x800710D8) at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Inedo.Agents.InedoAgentClientBase.<SendMessageAsync>d__28.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.Agents.InedoAgentClientBase.<ExecuteCommandAsync>d__26`1.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.BuildMaster.Extensibility.Agents.TcpAgent.<Inedo-Agents-IRemoteJobExecuter-ExecuteJobAsync>d__34.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.BuildMaster.Extensibility.Operations.RemoteExecuteOperation.<ExecuteAsync>d__5.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.BuildMaster.Windows.ServiceApplication.Executions.PlanExecuter.DeploymentPlanExecuter.<Inedo-ExecutionEngine-Executer-IExecutionHostEnvironment-ExecuteActionAsync>d__25.MoveNext()Thanks.
Product: BuildMaster
Version: 5.6.11 -
RE: Question regarding Imported Deployables
Follow up question, would the file that is in the artifact already have had the key pairs replaced when the artifact was made? And do I need to deploy the config file first and then make the artifact or will it just automatically be part of it?
What I'm needing to accomplish is deploy it using the same way if possible without having to replicate storage of the config in different apps. So replacing the key pairs under the new app if possible.
I know it would make more sense to make it part of the original apps but I cannot here because this is strictly on-demand deployments and we want to keep the restrictions on the pipelines requiring deployment to stages in order for the real apps.