176 строки
4.6 KiB
JSON
176 строки
4.6 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
"title": "Build Schema",
|
|
"$ref": "#/definitions/build",
|
|
"definitions": {
|
|
"build": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Configuration": {
|
|
"type": "string",
|
|
"description": "Configuration to build - Default is 'Debug' (local) or 'Release' (server)",
|
|
"enum": [
|
|
"Debug",
|
|
"Release"
|
|
]
|
|
},
|
|
"Continue": {
|
|
"type": "boolean",
|
|
"description": "Indicates to continue a previously failed build attempt"
|
|
},
|
|
"Help": {
|
|
"type": "boolean",
|
|
"description": "Shows the help text for this build assembly"
|
|
},
|
|
"Host": {
|
|
"type": "string",
|
|
"description": "Host for execution. Default is 'automatic'",
|
|
"enum": [
|
|
"AppVeyor",
|
|
"AzurePipelines",
|
|
"Bamboo",
|
|
"Bitbucket",
|
|
"Bitrise",
|
|
"GitHubActions",
|
|
"GitLab",
|
|
"Jenkins",
|
|
"Rider",
|
|
"SpaceAutomation",
|
|
"TeamCity",
|
|
"Terminal",
|
|
"TravisCI",
|
|
"VisualStudio",
|
|
"VSCode"
|
|
]
|
|
},
|
|
"NoLogo": {
|
|
"type": "boolean",
|
|
"description": "Disables displaying the NUKE logo"
|
|
},
|
|
"NugetKey": {
|
|
"type": "string",
|
|
"default": "Secrets must be entered via 'nuke :secrets [profile]'"
|
|
},
|
|
"NugetPrerelease": {
|
|
"type": "string"
|
|
},
|
|
"NugetPublishUrl": {
|
|
"type": "string"
|
|
},
|
|
"Partition": {
|
|
"type": "string",
|
|
"description": "Partition to use on CI"
|
|
},
|
|
"Plan": {
|
|
"type": "boolean",
|
|
"description": "Shows the execution plan (HTML)"
|
|
},
|
|
"Port": {
|
|
"type": "integer"
|
|
},
|
|
"Profile": {
|
|
"type": "array",
|
|
"description": "Defines the profiles to load",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"Root": {
|
|
"type": "string",
|
|
"description": "Root directory during build execution"
|
|
},
|
|
"SignClientSecret": {
|
|
"type": "string",
|
|
"default": "Secrets must be entered via 'nuke :secrets [profile]'"
|
|
},
|
|
"SignClientUser": {
|
|
"type": "string",
|
|
"default": "Secrets must be entered via 'nuke :secrets [profile]'"
|
|
},
|
|
"SigningDescription": {
|
|
"type": "string"
|
|
},
|
|
"SigningName": {
|
|
"type": "string"
|
|
},
|
|
"SigningUrl": {
|
|
"type": "string"
|
|
},
|
|
"Skip": {
|
|
"type": "array",
|
|
"description": "List of targets to be skipped. Empty list skips all dependencies",
|
|
"items": {
|
|
"type": "string",
|
|
"enum": [
|
|
"All",
|
|
"AssemblyInfo",
|
|
"AuthenticatedGitHubClient",
|
|
"BuildRelease",
|
|
"Clean",
|
|
"Compile",
|
|
"CreateNuget",
|
|
"DocFx",
|
|
"DocsInit",
|
|
"DocsMetadata",
|
|
"GitHubRelease",
|
|
"Install",
|
|
"NBench",
|
|
"Nuget",
|
|
"PublishCode",
|
|
"PublishNuget",
|
|
"Restore",
|
|
"RunTests",
|
|
"ServeDocs",
|
|
"SignClient"
|
|
]
|
|
}
|
|
},
|
|
"SymbolsPublishUrl": {
|
|
"type": "string"
|
|
},
|
|
"Target": {
|
|
"type": "array",
|
|
"description": "List of targets to be invoked. Default is '{default_target}'",
|
|
"items": {
|
|
"type": "string",
|
|
"enum": [
|
|
"All",
|
|
"AssemblyInfo",
|
|
"AuthenticatedGitHubClient",
|
|
"BuildRelease",
|
|
"Clean",
|
|
"Compile",
|
|
"CreateNuget",
|
|
"DocFx",
|
|
"DocsInit",
|
|
"DocsMetadata",
|
|
"GitHubRelease",
|
|
"Install",
|
|
"NBench",
|
|
"Nuget",
|
|
"PublishCode",
|
|
"PublishNuget",
|
|
"Restore",
|
|
"RunTests",
|
|
"ServeDocs",
|
|
"SignClient"
|
|
]
|
|
}
|
|
},
|
|
"TestTimeout": {
|
|
"type": "string"
|
|
},
|
|
"Verbosity": {
|
|
"type": "string",
|
|
"description": "Logging verbosity during build execution. Default is 'Normal'",
|
|
"enum": [
|
|
"Minimal",
|
|
"Normal",
|
|
"Quiet",
|
|
"Verbose"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |