Whiskey

0.44.0

Continuous Integration/Continuous Delivery module.

Minimum PowerShell version

5.1

There is a newer prerelease version of this module available.
See the version list below for details.

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name Whiskey -RequiredVersion 0.44.0

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name Whiskey -Version 0.44.0

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) 2016 - 2018 WebMD Health Services. All rights reserved.

Package Details

Author(s)

  • WebMD Health Services

Tags

build pipeline devops ci cd continuous-integration continuous-delivery continuous-deploy

Functions

Add-WhiskeyApiKey Add-WhiskeyCredential Add-WhiskeyTaskDefault Add-WhiskeyVariable Assert-WhiskeyNodePath Assert-WhiskeyNodeModulePath ConvertFrom-WhiskeyContext ConvertFrom-WhiskeyYamlScalar ConvertTo-WhiskeyContext ConvertTo-WhiskeySemanticVersion Convert-WhiskeyPathDirectorySeparator Get-WhiskeyApiKey Get-WhiskeyTask Get-WhiskeyCredential Get-WhiskeyMSBuildConfiguration Install-WhiskeyTool Invoke-WhiskeyNodeTask Invoke-WhiskeyNpmCommand Invoke-WhiskeyPipeline Invoke-WhiskeyBuild Invoke-WhiskeyTask New-WhiskeyContext Publish-WhiskeyBuildMasterPackage Publish-WhiskeyNuGetPackage Publish-WhiskeyProGetUniversalPackage Publish-WhiskeyBBServerTag Register-WhiskeyEvent Resolve-WhiskeyNodePath Resolve-WhiskeyNodeModulePath Resolve-WhiskeyNuGetPackageVersion Resolve-WhiskeyTaskPath Resolve-WhiskeyVariable Set-WhiskeyBuildStatus Set-WhiskeyMSBuildConfiguration Stop-WhiskeyTask Uninstall-WhiskeyTool Unregister-WhiskeyEvent Write-WhiskeyDebug Write-WhiskeyError Write-WhiskeyInfo Write-WhiskeyObject Write-WhiskeyVerbose Write-WhiskeyWarning

PSEditions

Desktop Core

Dependencies

This module has no dependencies.

Release Notes

## Breaking Changes

* Whiskey's default version number is now `0.0.0` instead of using the current date. If you care about your version number, make sure you have a `Version` task defined in your whiskey.yml file.
* Whiskey's `CopyFile`, `Delete`, `DotNet`, `File`, `LoadTask`, `GetPowerShellModule`, `GitHubRelease`, `MergeFile`, `MSBuild`, `NuGetPack`, `NuGetPush`, `NuGetRestore`, `NUnit2`, `NUnit3`, `Pester3`, `PowerShell`, `ProGetUniversalPackage`, `PublishPowerShellModule`, `PublishProGetUniversalPackage`, `SetVariableFromPowerShellDataFile`, `SetVariableFromXml`, `Version`, and `Zip` tasks now resolve paths relative to their working directories instead of the build root. If you use a `WorkingDirectory` property on any of these tasks, make sure the values to their path properties are relative to that working directory.
* Whiskey now passes relative paths to tasks. Task authors may need to update their tasks to support this.
* The `Resolve-WhiskeyTaskPath` function's parameters have changed. If you use `Resolve-WhiskeyTaskPath`, you'll need to update your usages to use the new parameters.
* Removed all support for old "VersionFrom", "PrereleaseMap", and "Version" properties in the root of your whiskey.yml file. Use Whiskey's `Version` task instead.

## Improvements and Bug Fixes

* The `GetPowerShellModule` task now supports installing prerelease versions of modules. Set the `AllowPrerelease` property to `true`.
* The `GetPowerShellModule` task can now install a module into a custom directory instead of the PSModules directory. Pass the path to the `Path` parameter.
* The `GetPowerShellModule` task can now import the module being installed. Set the `Import` property to `true`.
* Fixed: Whiskey fails to fail a build when certain PowerShell terminating errors are thrown (i.e. strict mode violations, command not found error, etc.).
* The `SourceRoot` property on the `ProGetUniversalPackage` and `Zip` tasks is deprecated. Use `WorkingDirectory` instead.
* Added support to the `Pester4` task for passing arbitrary parameters to Invoke-Pester. Pass the parameters as named properties via the new `Argument` property.
* Created `Write-WhiskeyObject` function for writing objects in sensible ways. Currently, only hashtables/dictionaries are supported. Keys/values are printed so they align and are recognizable. Other objects are passed to PowerShell's `Out-String` for formatting.
* Created `Convert-WhiskeyPathDirectorySeparator` for converting the directory separators in a path to the separator for the current platform.
* The `PublishPowerShellModule` task will now fail if your current build has prerelease metadata but the manifest of the module being published is missing a Prerelease property.
* The `MSBuild` task now supports version `16.0` (Visual Studio 2019) and later.

FileList

Version History

Version Downloads Last updated
0.62.0-rc5 6 10/24/2024
0.62.0-rc4 6 9/30/2024
0.62.0-rc3 4 9/19/2024
0.62.0-rc2 5 8/21/2024
0.62.0-rc1 4 8/20/2024
0.61.0 33 6/13/2024
0.61.0-rc1 4 6/6/2024
0.60.5 19 4/3/2024
0.60.4 12 2/7/2024
0.60.3 22 12/28/2023
0.60.2 31 10/13/2023
0.60.1 7 10/12/2023
0.60.0 8 10/9/2023
0.59.0 89 4/22/2023
0.58.0 9 4/15/2023
0.57.0 7 4/10/2023
0.56.0 7 4/6/2023
0.55.0 7 4/5/2023
0.54.0 6 4/4/2023
0.53.2 67 8/24/2022
0.53.1 18 8/12/2022
0.53.0 17 8/9/2022
0.52.2 12 8/4/2022
0.52.2-alpha1 12 7/26/2022
0.52.1 21 7/25/2022
0.52.0 27 7/6/2022
0.51.1 18 6/10/2022
0.51.0 20 5/27/2022
0.50.1 17 5/20/2022
0.50.0 13 5/18/2022
0.49.2-alpha... 44 4/4/2022
0.49.1 70 2/8/2022
0.49.0 52 12/30/2021
0.49.0-rc2010 11 12/22/2021
0.49.0-rc1958 10 12/10/2021
0.49.0-rc1913 10 12/7/2021
0.49.0-alpha... 10 12/20/2021
0.48.3 176 3/23/2021
0.48.2 16 3/22/2021
0.48.1 19 3/20/2021
0.48.0 16 3/19/2021
0.48.0-beta1705 15 3/3/2021
0.47.0 25 2/19/2021
0.47.0-beta1684 14 1/20/2021
0.47.0-beta1679 14 12/23/2020
0.47.0-beta1643 13 11/19/2020
0.47.0-beta1629 12 11/2/2020
0.47.0-beta1622 10 10/15/2020
0.46.0 53 9/2/2020
0.46.0-beta1605 15 8/19/2020
0.45.1 23 8/20/2020
0.45.0 21 8/11/2020
0.45.0-beta1594 12 8/7/2020
0.44.2 47 3/19/2020
0.44.1 16 3/18/2020
0.44.0 (current version) 32 2/24/2020
0.44.0-beta1547 16 1/30/2020
0.44.0-beta1528 19 12/24/2019
0.43.2 57 11/11/2019
0.43.1 32 11/4/2019
0.43.0 24 10/29/2019
0.43.0-beta1416 3,561 10/28/2019
0.42.1 25 10/15/2019
0.42.0 22 10/10/2019
0.42.0-beta1231 14 9/5/2019
0.42.0-beta1209 13 9/3/2019
0.42.0-beta1203 14 8/30/2019
0.42.0-beta1105 17 6/21/2019
0.42.0-beta1088 14 6/18/2019
0.42.0-beta1082 13 6/17/2019
0.42.0-beta1039 14 6/3/2019
0.41.1 54 8/16/2019
0.41.1-beta1034 14 5/31/2019
0.41.1-beta1028 13 4/11/2019
0.41.0 92 4/9/2019
0.41.0-beta1025 13 4/4/2019
0.40.0 71 1/28/2019
0.39.0 65 1/17/2019
0.38.5 134 12/11/2018
0.38.4 38 12/5/2018
0.38.3 25 11/29/2018
0.38.2 38 11/9/2018
0.38.1 41 10/24/2018
0.38.0 32 9/21/2018
0.37.1 217 9/6/2018
0.37.0 55 7/18/2018
0.35.0 80 6/22/2018
0.34.1 22 6/21/2018
0.34.0 140 5/29/2018
0.33.2 64 5/15/2018
0.33.1 723 5/2/2018
0.33.0 286 4/24/2018
0.32.0 25 3/15/2018
0.31.0 25 3/1/2018
0.30.1 22 2/14/2018
0.30.0 19 2/13/2018
0.29.1 18 2/12/2018
0.29.0 21 2/12/2018
0.28.0 21 2/7/2018
0.27.0 18 2/3/2018
0.26.0 19 1/19/2018
0.25.0 25 12/29/2017
0.24.0 21 12/20/2017
0.23.0 22 12/4/2017
0.22.1 18 11/29/2017
0.22.0 19 11/27/2017
0.21.0 29 11/13/2017
0.20.2 17 11/11/2017
0.20.1 16 11/7/2017
0.20.0 17 11/3/2017
0.19.3 22 10/30/2017
0.19.2 17 10/27/2017
0.19.1 17 10/24/2017
0.19.0 25 9/28/2017
0.18.0 20 9/20/2017
0.17.0 18 9/20/2017
0.16.0 19 9/15/2017
0.15.0 18 9/15/2017
0.14.1 16 9/12/2017
0.14.0 19 9/12/2017
Show less