Outstanding, thanks Alex
Posts made by clint.jenkinson_0617
-
RE: Create Choco feed with the API
Sorry, I did get it working, didn't see that 'version' was required. is there any way to just promote 'latest' rather than a named version?
-
RE: Create Choco feed with the API
Fantastic, thanks Ben. Get that to work OK - however when I then try to call the promotions api to promote, it returns the Native JSON API Reference instead of actually doing anything.
POST /api/json/promotions/promote HTTP/1.1
Host: proget.server
Content-Type: application/x-www-form-urlencoded
Cache-Control: no-cache
Postman-Token: 109411c1-d1b5-81f7-603f-be2c9901a42fkey=BjvV78liayx7CEay6O1Y%2Bg%3D%3D&packageName=QCAD.ARL.Service&fromFeed=QCAD&toFeed=NewFeed
going to /api/promotions/promote as per the doco just returns a 500 error
thoughts?
thanks,
Clint -
RE: Otter extension missing
Hi Tod,
Thanks for that. I have installed the extension in program data, and can see it being extracted into extensionstemp. I have restarted the service, and restarted the web service. I have also restarted the whole server. Unfortunately I am unable to see the extension listed in the admin page.
Any suggestions?
Thanks.
-
RE: Otter extension missing
Hey mate,
The current Chocolatey extension is not compatible with Otter v2.x yet afaik. Having migrated from 1.6 using chocolatey this is a pain for us too. Until an updated extension is released you will need to powershell/commandline it. Pre 2.x extensions are .otterx files, >2.x are upack.
Thanks,
Clint
-
Create Choco feed with the API
Hi Guys,
Just wondering, is there an API function to create chocolatey feeds? i cant seem to find it in the doco.
thanks,
Clint
Product: ProGet
Version: 5.0.8 -
Repoint to new DB Server
HI guys,
we have moved our Otter instance from a local express to one of our clusters. I am just experiencing some timeouts when accessing the application. I have updated the web and service configs, and I can access assets, plans, environments, and the administration page, but not the main console, servers, or roles without a 500 error. just wondering if I have missed a location to update with the new connection string?
Thanks,
CLint
Product: Otter
Version: 1.7.4 -
RE: Synchronise resource credentials from Buildmaster to Otter
That would be very helpful thanks Alex.
Clint
-
Synchronise resource credentials from Buildmaster to Otter
Hi Guys,
We currently have Buildmaster synchronising to an Otter instance, however resource credentials are not included in this synch. Is there any way we could achieve this, as we have a significant number of credentials in BM that we would prefer to not have to manually reenter and maintain on an ongoing basis.
Thanks,
Clint
Product: BuildMaster
Version: 5.8.1 -
RE: Set a variable that is then available across executions
Outstanding, thanks Alana
-
Text Templating syntax
Hi Guys,
I am just looking at text templating and have a question.
I have the below template:
<% foreach $server in @ServersInRoleAndEnvironment(QCAD VAS, VT) { %>
<CadServer index="${index}" systemName="Vis${EnvironmentName}" serverAddress="" userPosition="${server}" userProfile="Administrator" userId="VIM${VIM_Number}ARL${index}" userPassword=""> </CadServer>
<% $Increment(${index}, 1); %>
<% } %>Where $index is set in the plan and passed into the text template function:
{
foreach $VimServer in @ServersInRoleAndEnvironment(QCAD VIM, VT)
{
for server $VimServer
{
set $index = 1;Apply-Template test-text-template ( AdditionalVariables: %(VIM_Number: ${VIM_Number}, index: ${index}), OutputVariable => $result ); Log-Debug $result; } }
}
And I believe it is having an issue with the index/increment as im getting:
Unhandled exception: System.ArgumentNullException: Value cannot be null. Parameter name: script at Inedo.ExecutionEngine.Parser.Compiler.<Validate>d__9.MoveNext() at System.Collections.Generic.List
1..ctor(IEnumerable
1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable1 source) at Inedo.ExecutionEngine.Templating.TextTemplate.Parse(TextReader reader) at Inedo.ExecutionEngine.Templating.TextTemplate.Parse(String s) at Inedo.BuildMaster.Windows.ServiceApplication.Executions.PlanExecuter.BuildMasterExecutionContext.ApplyTextTemplateAsync(String text, IReadOnlyDictionary
2 additionalVariables) at Inedo.Extensions.Operations.General.ApplyTemplateOperation.<ExecuteAsync>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.BuildMaster.Windows.ServiceApplication.Executions.PlanExecuter.DeploymentPlanExecuter.<Inedo-ExecutionEngine-Executer-IExecutionHostEnvironment-ExecuteActionAsync>d__25.MoveNext()If I remove all references to the index it does the rest fine.
Any thoughts where im going wrong?
Product: BuildMaster
Version: 5.8.1 -
RE: Otter Role Configuration - Drift Detection Gives Varied Results
Hi Guys,
Did you get a result for this?
Im doing a similar thing in terms of simple configuration plans (in some cases just ensuring the status of a folder on a drive) and while the execution log shows that it runs fine, the results in the server list do not show me the status of every server. If I run the different plans for each role independently, only the results of the last run are available.
Thanks,
Clint
-
Deploy Package - only to the environment in context
Hi All,
I am trying to create a release that coordinates the deployment of packages from multiple applications. I have created a global pipeline with a global plan. I plan to use the deploy-package function. When I select the ${EnvironmentName} as the from and to stages in the pipeline filter (to target a particular environment), the deployment does not ever recognise the environment as the furthest stage, even if it is. If i dont specify the to and from values, the plan wants to promote and deploy all un-deployed environments instead of the one i want.
I would like to use the $EnvironmentName variable as i want to be able to use the same plan for all environments to ensure consistency.
Is this achievable?
Thanks,
Clint
Product: BuildMaster
Version: 5.7.1 -
RE: Server reboots mid deployment
Hi Alana,
Is this operation available in Buildmaster?
Thanks,
Clint
-
Server reboots mid deployment
Apologies if this has been asked previously, but i am just wondering the best way to handle a server reboot that may occur mid deployment? as it appears to completely break its ability to continue.
Thanks,
Clint
Product: BuildMaster
Version: 5.6.4 -
Artifact Comparison Report
Hi,
Just having issues with this report - no matter what i do the process just continually returns 'There must be at least 1 previously deployed release in order to report the file differences within the artifacts.'
I have multiple releases, with the preceding one deploying the artifact successfully.
Thanks,
Clint
Product: BuildMaster
Version: 5.6.2 -
Forcing 32 bit powershell
Hi Guys,
I have an application that uses a MS Access database, and as part of its deployment i modify one of the values to match the environment using a power shell script.
The problem is that the Jet database provider only functions in the 32 bit version of power shell. To make it work in BM I have to copy the script to the target server, and i initiate another power shell that starts the 32 bit shell and runs the end script.
Is there any way to make this script run natively in BM, by forcing it to call as 32 bit?
Thanks,
Clint
Product: BuildMaster
Version: 5.5.3 -
Adding Powershell script asset to plan returns error
Hi,
When adding a powershell script that has been defined as an application asset to the plan, they all return the error 'An unexpected error occured while posting to the server. Internal Server ErrorYou should try to save your work if possible'
I have been unable to find any indication of an issue in the logs. Can you please assist?
Thanks,
Clint
Product: BuildMaster
Version: 5.5.2 -
Configuration File - XSLT
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