Whiskey

0.31.0

Continuous Integration/Continuous Delivery module.

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.31.0

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

Install-PSResource -Name Whiskey -Version 0.31.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 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-WhiskeyYamlScalar ConvertTo-WhiskeySemanticVersion Get-WhiskeyApiKey Get-WhiskeyTask Get-WhiskeyCredential 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-WhiskeyNuGetPackageVersion Resolve-WhiskeyPowerShellModule Resolve-WhiskeyTaskPath Resolve-WhiskeyVariable Set-WhiskeyBuildStatus Stop-WhiskeyTask Uninstall-WhiskeyTool Unregister-WhiskeyEvent

Dependencies

This module has no dependencies.

Release Notes

* Added `WHISKEY_BUILD_STARTED_AT` variable. It's a `[datetime]` object that is the date/time the build started.
* Fixed: Whiskey fails builds if a version of Visual Studio 2017 is installed that doesn't have a MSBuild.
* Created `Version` task to replace the `Version`, `VersionFrom`, and `PrereleaseMap` whiskey.yml properties.
* Fixed: when a build that has an Exec task runs in a background job, the build immediately stops after the Exec task executes the process.
* ***BREAKING CHANGE***: We've removed the `Version`, `VersionFrom`, and `PrereleaseMap` properties from whiskey.yml. Use the new `Version` task instead (see the "Upgrade Instructions" below).
* ***BREAKING CHANGE***: Whiskey no longer automatically adds build metadata to your version. Use the new `Version` task to set your build metadata (see the "Upgrade Instructions" below).
* ***BREAKING CHANGE***: Whiskey's default version number is now '0.0.0'. Use the new `Version` task to customize your version number (see the "Upgrade Instructions" below).

## Upgrade Instructions

### Removing `Version` and `PrereleaseMap` Properties

To migrate your `Version` and/or `PrereleaseMap` properties, create a `Version` task as the first task in your pipeline. If your whiskey.yml file looks like this:

   Version: 1.2.3

   PrereleaseMap:
   - feature/*: alpha.$(WHISKEY_BUILD_NUMBER)

   BuildTasks:
   - Pester:
       Path: Tests\*.Tests.ps1

your new whiskey.yml file should look like this:

   BuildTasks:
   - Version:
       Version: 1.2.3
       Prerelease:
       - feature/*: alpha.$(WHISKEY_BUILD_NUMBER)
   - Pester:
       Path: Tests\*.Tests.ps1

### Removing `VersionFrom` Property

If you use the `VersionFrom` property, change your whiskey.yml file from this:

   VersionFrom: Whiskey\Whiskey.psd1

   BuildTasks:
   - Pester:
       Path: Tests\*.Tests.ps1

to this:

   BuildTasks:
   - Version:
       Path: Whiskey\Whiskey.psd1
   - Pester:
       Path: Tests\*.Tests.ps1

### Preserving Default Version Number

To preserve Whiskey's default version numbering, add a Version task to your build pipeline that looks like this:

   BuildTasks:
   - Version:
       Version: $(WHISKEY_BUILD_STARTED_AT.ToString('yyyy.Mdd')).$(WHISKEY_BUILD_NUMBER)

### Preserving Build Metadata

To preserve Whiskey's old default build metadata, add a Version task to your build pipeline whose "Build" property looks like this:

   BuildTasks:
   - Version:
       Version: 1.2.3
       Build: $(WHISKEY_SCM_BRANCH).$(WHISKEY_SCM_COMMIT_ID.Substring(0,7))

FileList

Version History

Version Downloads Last updated
0.63.1 5 12/12/2025
0.63.0-rc1 3 12/8/2025
0.62.0 12 10/15/2025
0.62.0-rc17 5 8/27/2025
0.62.0-rc16 7 8/26/2025
0.62.0-rc15 6 8/19/2025
0.62.0-rc14 6 8/18/2025
0.62.0-rc13 7 8/13/2025
0.62.0-rc12 6 8/13/2025
0.62.0-rc11 8 2/4/2025
0.62.0-rc10 5 1/23/2025
0.61.2 15 8/13/2025
0.61.2-rc1 5 8/11/2025
0.61.1 19 1/23/2025
0.61.0 40 6/13/2024
0.61.0-rc1 6 6/6/2024
0.60.5 21 4/3/2024
0.60.4 13 2/7/2024
0.60.3 24 12/28/2023
0.60.2 38 10/13/2023
0.60.1 13 10/12/2023
0.60.0 13 10/9/2023
0.59.0 91 4/22/2023
0.58.0 10 4/15/2023
0.57.0 9 4/10/2023
0.56.0 9 4/6/2023
0.55.0 9 4/5/2023
0.54.0 8 4/4/2023
0.53.2 69 8/24/2022
0.53.1 20 8/12/2022
0.53.0 18 8/9/2022
0.52.2 14 8/4/2022
0.52.2-alpha1 13 7/26/2022
0.52.1 23 7/25/2022
0.52.0 29 7/6/2022
0.51.1 20 6/10/2022
0.51.0 22 5/27/2022
0.50.1 19 5/20/2022
0.50.0 15 5/18/2022
0.49.2-alpha... 46 4/4/2022
0.49.1 72 2/8/2022
0.49.0 54 12/30/2021
0.49.0-rc2010 13 12/22/2021
0.49.0-rc1958 12 12/10/2021
0.49.0-rc1913 12 12/7/2021
0.49.0-alpha... 12 12/20/2021
0.48.3 177 3/23/2021
0.48.2 18 3/22/2021
0.48.1 20 3/20/2021
0.48.0 18 3/19/2021
0.48.0-beta1705 17 3/3/2021
0.47.0 27 2/19/2021
0.47.0-beta1684 16 1/20/2021
0.47.0-beta1679 16 12/23/2020
0.47.0-beta1643 14 11/19/2020
0.47.0-beta1629 14 11/2/2020
0.47.0-beta1622 12 10/15/2020
0.46.0 54 9/2/2020
0.46.0-beta1605 17 8/19/2020
0.45.1 24 8/20/2020
0.45.0 22 8/11/2020
0.45.0-beta1594 14 8/7/2020
0.44.2 49 3/19/2020
0.44.1 18 3/18/2020
0.44.0 33 2/24/2020
0.44.0-beta1547 18 1/30/2020
0.44.0-beta1528 20 12/24/2019
0.43.2 58 11/11/2019
0.43.1 34 11/4/2019
0.43.0 26 10/29/2019
0.43.0-beta1416 4,369 10/28/2019
0.42.1 27 10/15/2019
0.42.0 24 10/10/2019
0.42.0-beta1231 15 9/5/2019
0.42.0-beta1209 15 9/3/2019
0.42.0-beta1203 15 8/30/2019
0.42.0-beta1105 19 6/21/2019
0.42.0-beta1088 16 6/18/2019
0.42.0-beta1082 15 6/17/2019
0.42.0-beta1039 16 6/3/2019
0.41.1 56 8/16/2019
0.41.1-beta1034 15 5/31/2019
0.41.1-beta1028 15 4/11/2019
0.41.0 95 4/9/2019
0.41.0-beta1025 14 4/4/2019
0.40.0 72 1/28/2019
0.39.0 67 1/17/2019
0.38.5 136 12/11/2018
0.38.4 40 12/5/2018
0.38.3 27 11/29/2018
0.38.2 40 11/9/2018
0.38.1 43 10/24/2018
0.38.0 34 9/21/2018
0.37.1 219 9/6/2018
0.37.0 57 7/18/2018
0.35.0 82 6/22/2018
0.34.1 23 6/21/2018
0.34.0 142 5/29/2018
0.33.2 66 5/15/2018
0.33.1 725 5/2/2018
0.33.0 287 4/24/2018
0.32.0 27 3/15/2018
0.31.0 (current version) 27 3/1/2018
0.30.1 24 2/14/2018
0.30.0 21 2/13/2018
0.29.1 20 2/12/2018
0.29.0 23 2/12/2018
0.28.0 23 2/7/2018
0.27.0 20 2/3/2018
0.26.0 21 1/19/2018
0.25.0 26 12/29/2017
0.24.0 23 12/20/2017
0.23.0 24 12/4/2017
0.22.1 20 11/29/2017
0.22.0 21 11/27/2017
0.21.0 31 11/13/2017
0.20.2 19 11/11/2017
0.20.1 18 11/7/2017
0.20.0 19 11/3/2017
0.19.3 24 10/30/2017
0.19.2 18 10/27/2017
0.19.1 19 10/24/2017
0.19.0 26 9/28/2017
0.18.0 22 9/20/2017
0.17.0 20 9/20/2017
0.16.0 20 9/15/2017
0.15.0 19 9/15/2017
0.14.1 18 9/12/2017
0.14.0 21 9/12/2017
Show less