2021-05-13 14:15:27 +02:00
|
|
|
{
|
|
|
|
"$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",
|
2023-02-23 02:38:03 +01:00
|
|
|
"Bitbucket",
|
2021-05-13 14:15:27 +02:00
|
|
|
"Bitrise",
|
|
|
|
"GitHubActions",
|
|
|
|
"GitLab",
|
|
|
|
"Jenkins",
|
2023-02-23 02:38:03 +01:00
|
|
|
"Rider",
|
2021-05-13 14:15:27 +02:00
|
|
|
"SpaceAutomation",
|
|
|
|
"TeamCity",
|
|
|
|
"Terminal",
|
2023-02-23 02:38:03 +01:00
|
|
|
"TravisCI",
|
|
|
|
"VisualStudio",
|
|
|
|
"VSCode"
|
2021-05-13 14:15:27 +02:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"NoLogo": {
|
|
|
|
"type": "boolean",
|
|
|
|
"description": "Disables displaying the NUKE logo"
|
|
|
|
},
|
2021-08-29 16:30:19 +02:00
|
|
|
"NUGET_API_KEY": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2023-02-23 02:38:03 +01:00
|
|
|
"Partition": {
|
|
|
|
"type": "string",
|
|
|
|
"description": "Partition to use on CI"
|
|
|
|
},
|
2021-05-13 14:15:27 +02:00
|
|
|
"Plan": {
|
|
|
|
"type": "boolean",
|
|
|
|
"description": "Shows the execution plan (HTML)"
|
|
|
|
},
|
|
|
|
"Profile": {
|
|
|
|
"type": "array",
|
|
|
|
"description": "Defines the profiles to load",
|
|
|
|
"items": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"Root": {
|
|
|
|
"type": "string",
|
|
|
|
"description": "Root directory during build execution"
|
|
|
|
},
|
|
|
|
"Skip": {
|
|
|
|
"type": "array",
|
|
|
|
"description": "List of targets to be skipped. Empty list skips all dependencies",
|
|
|
|
"items": {
|
|
|
|
"type": "string",
|
|
|
|
"enum": [
|
|
|
|
"Ci",
|
2021-08-29 16:30:19 +02:00
|
|
|
"CiPublish",
|
2021-05-13 14:15:27 +02:00
|
|
|
"Clean",
|
|
|
|
"Compile",
|
|
|
|
"Package",
|
2021-08-29 16:30:19 +02:00
|
|
|
"Publish",
|
2021-05-13 14:15:27 +02:00
|
|
|
"Restore",
|
|
|
|
"Test"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"Solution": {
|
|
|
|
"type": "string",
|
|
|
|
"description": "Path to a solution file that is automatically loaded"
|
|
|
|
},
|
|
|
|
"Target": {
|
|
|
|
"type": "array",
|
|
|
|
"description": "List of targets to be invoked. Default is '{default_target}'",
|
|
|
|
"items": {
|
|
|
|
"type": "string",
|
|
|
|
"enum": [
|
|
|
|
"Ci",
|
2021-08-29 16:30:19 +02:00
|
|
|
"CiPublish",
|
2021-05-13 14:15:27 +02:00
|
|
|
"Clean",
|
|
|
|
"Compile",
|
|
|
|
"Package",
|
2021-08-29 16:30:19 +02:00
|
|
|
"Publish",
|
2021-05-13 14:15:27 +02:00
|
|
|
"Restore",
|
|
|
|
"Test"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"Verbosity": {
|
|
|
|
"type": "string",
|
|
|
|
"description": "Logging verbosity during build execution. Default is 'Normal'",
|
|
|
|
"enum": [
|
|
|
|
"Minimal",
|
|
|
|
"Normal",
|
|
|
|
"Quiet",
|
|
|
|
"Verbose"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|