This repository has been archived by the owner on Feb 12, 2024. It is now read-only.
forked from OctopusDeploy/OctoTFS
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added documentation around PowerShell script
- Loading branch information
Showing
6 changed files
with
32 additions
and
4 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
Build PowerShell Scripts | ||
======================== | ||
|
||
PowerShell Scripts that can be used independently or with [Team Build vNext](http://vsalmdocs.azurewebsites.net/library/vs/alm/build/overview) | ||
|
||
[Create Octopus Release](CreateOctopusRelease.ps1) | ||
---------------------- | ||
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](../../img/ps-addpowershellstep.png) | ||
|
||
3. Set the *Script filename* field by locating the `CreateOctopusRelease.ps1` file in your repository | ||
|
||
4. 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](http://docs.octopusdeploy.com/display/OD/How+to+create+an+API+key) 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](../../img/ps-configurepowershellstep.png) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters