website icon indicating copy to clipboard operation
website copied to clipboard

Add Example in documentation for teamcity powershell runner

Open TraGicCode opened this issue 6 years ago • 4 comments

The documentation on how to pass custom arguments to cake should be updated to contain an example of using the TeamCity powershell runner ( build step ). I'm sure i'm not the only one to run into this but if you don't pass custom arguments with a double dash and equals teamcity just will not parse it correctly.

What Page of Documentation to Update?

Either this https://cakebuild.net/docs/fundamentals/args-and-environment-vars or add a new section for running in certain CI Servers.

What made cake work with custom arguments in teamcity?

Script file: Text Box

build.ps1

Script arguments: Text Box

-Target Teamcity -Configuration Release --VersionNumber="%build.number%" --ProGetDeployablesApiKey="%ProGet API Key%" --OctopusApiKey="%Octopus API Key%"

Screenshot

image

TraGicCode avatar Dec 20 '18 13:12 TraGicCode

Probably best would perhaps be a new page TeamCity page under https://cakebuild.net/docs/build-systems/

devlead avatar Dec 20 '18 13:12 devlead

Hey @devlead ,

I agree. I actually didn't even see the azure devops one. Technically i think that should have been called azure pipelines. Azure Devops represents azure pipelines + everything else like agile board and azure repos etc. The whole development lifecycle.

Anyways, thanks for the quick response.

TraGicCode avatar Dec 20 '18 13:12 TraGicCode

@pascalberger Did any work happen on this? It would be a really useful addition to the Cake documentation.

mattsalmon avatar Jan 06 '20 11:01 mattsalmon

@mattsalmon Not yet. This issue (and #1047) are still up for grabs

pascalberger avatar Oct 03 '20 18:10 pascalberger