|
| 1 | +{ |
| 2 | + "$schema": "http://json-schema.org/draft-04/schema#", |
| 3 | + "properties": { |
| 4 | + "Configuration": { |
| 5 | + "type": "string", |
| 6 | + "description": "Configuration to build - Default is 'Debug' (local) or 'Release' (server)", |
| 7 | + "enum": [ |
| 8 | + "Debug", |
| 9 | + "Release" |
| 10 | + ] |
| 11 | + }, |
| 12 | + "ExtensionLibVersion": { |
| 13 | + "type": "string", |
| 14 | + "description": "Extension library version" |
| 15 | + }, |
| 16 | + "ExtensionName": { |
| 17 | + "type": "string", |
| 18 | + "description": "Extension library name" |
| 19 | + }, |
| 20 | + "PushApiKey": { |
| 21 | + "type": "string", |
| 22 | + "description": "NuGet push API key" |
| 23 | + }, |
| 24 | + "SharedLibVersion": { |
| 25 | + "type": "string", |
| 26 | + "description": "Shared library version" |
| 27 | + }, |
| 28 | + "Solution": { |
| 29 | + "type": "string", |
| 30 | + "description": "Path to a solution file that is automatically loaded" |
| 31 | + } |
| 32 | + }, |
| 33 | + "definitions": { |
| 34 | + "Host": { |
| 35 | + "type": "string", |
| 36 | + "enum": [ |
| 37 | + "AppVeyor", |
| 38 | + "AzurePipelines", |
| 39 | + "Bamboo", |
| 40 | + "Bitbucket", |
| 41 | + "Bitrise", |
| 42 | + "GitHubActions", |
| 43 | + "GitLab", |
| 44 | + "Jenkins", |
| 45 | + "Rider", |
| 46 | + "SpaceAutomation", |
| 47 | + "TeamCity", |
| 48 | + "Terminal", |
| 49 | + "TravisCI", |
| 50 | + "VisualStudio", |
| 51 | + "VSCode" |
| 52 | + ] |
| 53 | + }, |
| 54 | + "ExecutableTarget": { |
| 55 | + "type": "string", |
| 56 | + "enum": [ |
| 57 | + "Extension_Build", |
| 58 | + "Extension_FindNextVersion", |
| 59 | + "Extension_Push", |
| 60 | + "Shared_Build", |
| 61 | + "Shared_FindNextVersion", |
| 62 | + "Shared_Push", |
| 63 | + "Solution_Build", |
| 64 | + "Solution_Clean", |
| 65 | + "Solution_Restore", |
| 66 | + "UpdateYaml" |
| 67 | + ] |
| 68 | + }, |
| 69 | + "Verbosity": { |
| 70 | + "type": "string", |
| 71 | + "description": "", |
| 72 | + "enum": [ |
| 73 | + "Verbose", |
| 74 | + "Normal", |
| 75 | + "Minimal", |
| 76 | + "Quiet" |
| 77 | + ] |
| 78 | + }, |
| 79 | + "NukeBuild": { |
| 80 | + "properties": { |
| 81 | + "Continue": { |
| 82 | + "type": "boolean", |
| 83 | + "description": "Indicates to continue a previously failed build attempt" |
| 84 | + }, |
| 85 | + "Help": { |
| 86 | + "type": "boolean", |
| 87 | + "description": "Shows the help text for this build assembly" |
| 88 | + }, |
| 89 | + "Host": { |
| 90 | + "description": "Host for execution. Default is 'automatic'", |
| 91 | + "$ref": "#/definitions/Host" |
| 92 | + }, |
| 93 | + "NoLogo": { |
| 94 | + "type": "boolean", |
| 95 | + "description": "Disables displaying the NUKE logo" |
| 96 | + }, |
| 97 | + "Partition": { |
| 98 | + "type": "string", |
| 99 | + "description": "Partition to use on CI" |
| 100 | + }, |
| 101 | + "Plan": { |
| 102 | + "type": "boolean", |
| 103 | + "description": "Shows the execution plan (HTML)" |
| 104 | + }, |
| 105 | + "Profile": { |
| 106 | + "type": "array", |
| 107 | + "description": "Defines the profiles to load", |
| 108 | + "items": { |
| 109 | + "type": "string" |
| 110 | + } |
| 111 | + }, |
| 112 | + "Root": { |
| 113 | + "type": "string", |
| 114 | + "description": "Root directory during build execution" |
| 115 | + }, |
| 116 | + "Skip": { |
| 117 | + "type": "array", |
| 118 | + "description": "List of targets to be skipped. Empty list skips all dependencies", |
| 119 | + "items": { |
| 120 | + "$ref": "#/definitions/ExecutableTarget" |
| 121 | + } |
| 122 | + }, |
| 123 | + "Target": { |
| 124 | + "type": "array", |
| 125 | + "description": "List of targets to be invoked. Default is '{default_target}'", |
| 126 | + "items": { |
| 127 | + "$ref": "#/definitions/ExecutableTarget" |
| 128 | + } |
| 129 | + }, |
| 130 | + "Verbosity": { |
| 131 | + "description": "Logging verbosity during build execution. Default is 'Normal'", |
| 132 | + "$ref": "#/definitions/Verbosity" |
| 133 | + } |
| 134 | + } |
| 135 | + } |
| 136 | + }, |
| 137 | + "$ref": "#/definitions/NukeBuild" |
| 138 | +} |
0 commit comments