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.60.5 10 4/3/2024
0.60.4 11 2/7/2024
0.60.3 21 12/28/2023
0.60.2 25 10/13/2023
0.60.1 6 10/12/2023
0.60.0 6 10/9/2023
0.59.0 87 4/22/2023
0.58.0 8 4/15/2023
0.57.0 6 4/10/2023
0.56.0 6 4/6/2023
0.55.0 6 4/5/2023
0.54.0 5 4/4/2023
0.53.2 66 8/24/2022
0.53.1 17 8/12/2022
0.53.0 16 8/9/2022
0.52.2 11 8/4/2022
0.52.2-alpha1 10 7/26/2022
0.52.1 20 7/25/2022
0.52.0 26 7/6/2022
0.51.1 17 6/10/2022
0.51.0 19 5/27/2022
0.50.1 16 5/20/2022
0.50.0 12 5/18/2022
0.49.2-alpha... 43 4/4/2022
0.49.1 69 2/8/2022
0.49.0 51 12/30/2021
0.49.0-rc2010 10 12/22/2021
0.49.0-rc1958 9 12/10/2021
0.49.0-rc1913 9 12/7/2021
0.49.0-alpha... 9 12/20/2021
0.48.3 175 3/23/2021
0.48.2 15 3/22/2021
0.48.1 18 3/20/2021
0.48.0 15 3/19/2021
0.48.0-beta1705 14 3/3/2021
0.47.0 24 2/19/2021
0.47.0-beta1684 13 1/20/2021
0.47.0-beta1679 13 12/23/2020
0.47.0-beta1643 12 11/19/2020
0.47.0-beta1629 11 11/2/2020
0.47.0-beta1622 9 10/15/2020
0.46.0 52 9/2/2020
0.46.0-beta1605 14 8/19/2020
0.45.1 22 8/20/2020
0.45.0 20 8/11/2020
0.45.0-beta1594 11 8/7/2020
0.44.2 46 3/19/2020
0.44.1 15 3/18/2020
0.44.0 31 2/24/2020
0.44.0-beta1547 15 1/30/2020
0.44.0-beta1528 18 12/24/2019
0.43.2 56 11/11/2019
0.43.1 31 11/4/2019
0.43.0 23 10/29/2019
0.43.0-beta1416 3,272 10/28/2019
0.42.1 24 10/15/2019
0.42.0 21 10/10/2019
0.42.0-beta1231 13 9/5/2019
0.42.0-beta1209 12 9/3/2019
0.42.0-beta1203 13 8/30/2019
0.42.0-beta1105 16 6/21/2019
0.42.0-beta1088 13 6/18/2019
0.42.0-beta1082 12 6/17/2019
0.42.0-beta1039 13 6/3/2019
0.41.1 53 8/16/2019
0.41.1-beta1034 13 5/31/2019
0.41.1-beta1028 12 4/11/2019
0.41.0 91 4/9/2019
0.41.0-beta1025 12 4/4/2019
0.40.0 70 1/28/2019
0.39.0 64 1/17/2019
0.38.5 133 12/11/2018
0.38.4 37 12/5/2018
0.38.3 24 11/29/2018
0.38.2 37 11/9/2018
0.38.1 40 10/24/2018
0.38.0 31 9/21/2018
0.37.1 216 9/6/2018
0.37.0 54 7/18/2018
0.35.0 79 6/22/2018
0.34.1 21 6/21/2018
0.34.0 139 5/29/2018
0.33.2 63 5/15/2018
0.33.1 722 5/2/2018
0.33.0 285 4/24/2018
0.32.0 24 3/15/2018
0.31.0 (current version) 24 3/1/2018
0.30.1 21 2/14/2018
0.30.0 18 2/13/2018
0.29.1 17 2/12/2018
0.29.0 20 2/12/2018
0.28.0 20 2/7/2018
0.27.0 17 2/3/2018
0.26.0 18 1/19/2018
0.25.0 24 12/29/2017
0.24.0 20 12/20/2017
0.23.0 21 12/4/2017
0.22.1 17 11/29/2017
0.22.0 18 11/27/2017
0.21.0 28 11/13/2017
0.20.2 16 11/11/2017
0.20.1 15 11/7/2017
0.20.0 16 11/3/2017
0.19.3 21 10/30/2017
0.19.2 16 10/27/2017
0.19.1 16 10/24/2017
0.19.0 24 9/28/2017
0.18.0 19 9/20/2017
0.17.0 17 9/20/2017
0.16.0 18 9/15/2017
0.15.0 17 9/15/2017
0.14.1 15 9/12/2017
0.14.0 18 9/12/2017
Show less