Skip to content

Latest commit

 

History

History
 
 

BuildPowershellScripts

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Build PowerShell Scripts

PowerShell Scripts that can be used independently or with Team Build vNext

Creates a new Release in Octopus Deploy.

Instructions for use with Team Build vNext:

  1. Include the CreateOctopusRelease.ps1 file in your project or solution

  2. Add the PowerShell build step to your build definition.

Add PowerShell Build Step

  1. Set the Script filename field by locating the CreateOctopusRelease.ps1 file in your repository

  2. Set the following parameters in the Arguments field:

-apiKey API-LNVK9KXXXXXXXXXXXOAYZS -octopusUrl http://my-octopus-server -octopusProjectId projects-1

  • -apiKey - Your API Key (See documentation for details on how to create an API Key)
  • -octopusUrl - The URL that points to your Octopus Deploy server
  • -octopusProjectId - The Id of the project you want to create a release for

Configure PowerShell Build Step