Octopack for teamcity parameters

Is there any way I can provide more parameters other than version when using Octopack for TeamCity?

Hi,

Thanks for reaching out. You can do so in the “Command Line Parameters” field seen in the below screenshot:

Let me know if there’s anything else I can help with

Cheers!
Dalmiro

Thanks for the response. The Command Line Parameters field says it’s for MSBuild.exe.

  1. Do these get forwarded to OctoPack?
  2. Will these not interfere with msbuild?

Octopack is an extra task that runs along with MSBuild. The only way to pass parameters to Octopack is by passing them to your MSBuild call.

For example, when you check the box “Run Octopack” in TeamCity, what we are doing in the background is passing the parameter /p:RunOctoPack=true to MSBuild.

So you can add any of the supported parameters listed at the bottom of this document to the “Command Line Parameters” in that step: http://docs.octopusdeploy.com/display/OD/Using+OctoPack

Awesome, thanks!