-
Notifications
You must be signed in to change notification settings - Fork 8
TaskDefaults Task
Aaron Jensen edited this page Sep 30, 2019
·
1 revision
The TaskDefaults
task will set default values for Whiskey task properties. Define task defaults just as you would define the task itself, except nest it under a TaskDefaults
task. If an invalid task name is given the build will fail.
The following example demonstrates setting default values for the MSBuild
task Version
property and the NuGetPack
task Symbols
property.
Build:
- TaskDefaults:
MSBuild:
Version: 13.0
NuGetPack:
Symbols: true
- Common Task Properties
- AppVeyorWaitForBuildJob
- CopyFile
- Delete
- DotNet
- Exec
- File
- GetPowerShellModule
- GitHubRelease
- InstallNodeJs
- LoadTask
- Log
- MergeFile
- MSBuild
- NuGetPack
- NuGetPush
- NuGetRestore
- NUnit2
- NUnit3
- Parallel
- Pester
- Pipeline
- PowerShell
- ProGetUniversalPackage
- PublishBitbucketServerTag
- PublishBuildMasterPackage
- PublishNodeModule
- PublishPowerShellModule
- PublishProGetAsset
- PublishProGetUniversalPackage
- SetVariable
- SetVariableFromPowerShellDataFile
- SetVariableFromXml
- TaskDefaults
- Version
- Zip