|  | 
| 1 | 1 | { | 
| 2 | 2 |   "$schema": "http://json-schema.org/draft-04/schema#", | 
| 3 |  | -  "$ref": "#/definitions/build", | 
| 4 |  | -  "title": "Build 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 | +    "ElasticProvider": { | 
|  | 13 | +      "type": "string" | 
|  | 14 | +    }, | 
|  | 15 | +    "MongoProvider": { | 
|  | 16 | +      "type": "string" | 
|  | 17 | +    }, | 
|  | 18 | +    "MsSqlProvider": { | 
|  | 19 | +      "type": "string" | 
|  | 20 | +    }, | 
|  | 21 | +    "MySqlProvider": { | 
|  | 22 | +      "type": "string" | 
|  | 23 | +    }, | 
|  | 24 | +    "NugetApiKey": { | 
|  | 25 | +      "type": "string", | 
|  | 26 | +      "default": "Secrets must be entered via 'nuke :secrets [profile]'" | 
|  | 27 | +    }, | 
|  | 28 | +    "PostgresProvider": { | 
|  | 29 | +      "type": "string" | 
|  | 30 | +    }, | 
|  | 31 | +    "Solution": { | 
|  | 32 | +      "type": "string", | 
|  | 33 | +      "description": "Path to a solution file that is automatically loaded" | 
|  | 34 | +    }, | 
|  | 35 | +    "SonarToken": { | 
|  | 36 | +      "type": "string", | 
|  | 37 | +      "default": "Secrets must be entered via 'nuke :secrets [profile]'" | 
|  | 38 | +    }, | 
|  | 39 | +    "SonarTokenUi": { | 
|  | 40 | +      "type": "string", | 
|  | 41 | +      "default": "Secrets must be entered via 'nuke :secrets [profile]'" | 
|  | 42 | +    }, | 
|  | 43 | +    "Ui": { | 
|  | 44 | +      "type": "string" | 
|  | 45 | +    } | 
|  | 46 | +  }, | 
| 5 | 47 |   "definitions": { | 
| 6 |  | -    "build": { | 
| 7 |  | -      "type": "object", | 
|  | 48 | +    "Host": { | 
|  | 49 | +      "type": "string", | 
|  | 50 | +      "enum": [ | 
|  | 51 | +        "AppVeyor", | 
|  | 52 | +        "AzurePipelines", | 
|  | 53 | +        "Bamboo", | 
|  | 54 | +        "Bitbucket", | 
|  | 55 | +        "Bitrise", | 
|  | 56 | +        "GitHubActions", | 
|  | 57 | +        "GitLab", | 
|  | 58 | +        "Jenkins", | 
|  | 59 | +        "Rider", | 
|  | 60 | +        "SpaceAutomation", | 
|  | 61 | +        "TeamCity", | 
|  | 62 | +        "Terminal", | 
|  | 63 | +        "TravisCI", | 
|  | 64 | +        "VisualStudio", | 
|  | 65 | +        "VSCode" | 
|  | 66 | +      ] | 
|  | 67 | +    }, | 
|  | 68 | +    "ExecutableTarget": { | 
|  | 69 | +      "type": "string", | 
|  | 70 | +      "enum": [ | 
|  | 71 | +        "Backend_Clean", | 
|  | 72 | +        "Backend_Compile", | 
|  | 73 | +        "Backend_Report_Ci", | 
|  | 74 | +        "Backend_Restore", | 
|  | 75 | +        "Backend_SonarScan_End", | 
|  | 76 | +        "Backend_SonarScan_Start", | 
|  | 77 | +        "Backend_Test", | 
|  | 78 | +        "Backend_Test_Ci", | 
|  | 79 | +        "Clean", | 
|  | 80 | +        "Frontend_Build", | 
|  | 81 | +        "Frontend_Clean", | 
|  | 82 | +        "Frontend_Restore", | 
|  | 83 | +        "Frontend_Tests", | 
|  | 84 | +        "Frontend_Tests_Ci", | 
|  | 85 | +        "Pack", | 
|  | 86 | +        "Publish" | 
|  | 87 | +      ] | 
|  | 88 | +    }, | 
|  | 89 | +    "Verbosity": { | 
|  | 90 | +      "type": "string", | 
|  | 91 | +      "description": "", | 
|  | 92 | +      "enum": [ | 
|  | 93 | +        "Verbose", | 
|  | 94 | +        "Normal", | 
|  | 95 | +        "Minimal", | 
|  | 96 | +        "Quiet" | 
|  | 97 | +      ] | 
|  | 98 | +    }, | 
|  | 99 | +    "NukeBuild": { | 
| 8 | 100 |       "properties": { | 
| 9 |  | -        "Configuration": { | 
| 10 |  | -          "type": "string", | 
| 11 |  | -          "description": "Configuration to build - Default is 'Debug' (local) or 'Release' (server)", | 
| 12 |  | -          "enum": [ | 
| 13 |  | -            "Debug", | 
| 14 |  | -            "Release" | 
| 15 |  | -          ] | 
| 16 |  | -        }, | 
| 17 | 101 |         "Continue": { | 
| 18 | 102 |           "type": "boolean", | 
| 19 | 103 |           "description": "Indicates to continue a previously failed build attempt" | 
| 20 | 104 |         }, | 
| 21 |  | -        "ElasticProvider": { | 
| 22 |  | -          "type": "string" | 
| 23 |  | -        }, | 
| 24 | 105 |         "Help": { | 
| 25 | 106 |           "type": "boolean", | 
| 26 | 107 |           "description": "Shows the help text for this build assembly" | 
| 27 | 108 |         }, | 
| 28 | 109 |         "Host": { | 
| 29 |  | -          "type": "string", | 
| 30 | 110 |           "description": "Host for execution. Default is 'automatic'", | 
| 31 |  | -          "enum": [ | 
| 32 |  | -            "AppVeyor", | 
| 33 |  | -            "AzurePipelines", | 
| 34 |  | -            "Bamboo", | 
| 35 |  | -            "Bitbucket", | 
| 36 |  | -            "Bitrise", | 
| 37 |  | -            "GitHubActions", | 
| 38 |  | -            "GitLab", | 
| 39 |  | -            "Jenkins", | 
| 40 |  | -            "Rider", | 
| 41 |  | -            "SpaceAutomation", | 
| 42 |  | -            "TeamCity", | 
| 43 |  | -            "Terminal", | 
| 44 |  | -            "TravisCI", | 
| 45 |  | -            "VisualStudio", | 
| 46 |  | -            "VSCode" | 
| 47 |  | -          ] | 
| 48 |  | -        }, | 
| 49 |  | -        "MongoProvider": { | 
| 50 |  | -          "type": "string" | 
| 51 |  | -        }, | 
| 52 |  | -        "MsSqlProvider": { | 
| 53 |  | -          "type": "string" | 
| 54 |  | -        }, | 
| 55 |  | -        "MySqlProvider": { | 
| 56 |  | -          "type": "string" | 
|  | 111 | +          "$ref": "#/definitions/Host" | 
| 57 | 112 |         }, | 
| 58 | 113 |         "NoLogo": { | 
| 59 | 114 |           "type": "boolean", | 
| 60 | 115 |           "description": "Disables displaying the NUKE logo" | 
| 61 | 116 |         }, | 
| 62 |  | -        "NugetApiKey": { | 
| 63 |  | -          "type": "string", | 
| 64 |  | -          "default": "Secrets must be entered via 'nuke :secrets [profile]'" | 
| 65 |  | -        }, | 
| 66 | 117 |         "Partition": { | 
| 67 | 118 |           "type": "string", | 
| 68 | 119 |           "description": "Partition to use on CI" | 
|  | 
| 71 | 122 |           "type": "boolean", | 
| 72 | 123 |           "description": "Shows the execution plan (HTML)" | 
| 73 | 124 |         }, | 
| 74 |  | -        "PostgresProvider": { | 
| 75 |  | -          "type": "string" | 
| 76 |  | -        }, | 
| 77 | 125 |         "Profile": { | 
| 78 | 126 |           "type": "array", | 
| 79 | 127 |           "description": "Defines the profiles to load", | 
|  | 
| 89 | 137 |           "type": "array", | 
| 90 | 138 |           "description": "List of targets to be skipped. Empty list skips all dependencies", | 
| 91 | 139 |           "items": { | 
| 92 |  | -            "type": "string", | 
| 93 |  | -            "enum": [ | 
| 94 |  | -              "Backend_Clean", | 
| 95 |  | -              "Backend_Compile", | 
| 96 |  | -              "Backend_Report_Ci", | 
| 97 |  | -              "Backend_Restore", | 
| 98 |  | -              "Backend_SonarScan_End", | 
| 99 |  | -              "Backend_SonarScan_Start", | 
| 100 |  | -              "Backend_Test", | 
| 101 |  | -              "Backend_Test_Ci", | 
| 102 |  | -              "Clean", | 
| 103 |  | -              "Frontend_Build", | 
| 104 |  | -              "Frontend_Clean", | 
| 105 |  | -              "Frontend_Restore", | 
| 106 |  | -              "Frontend_Tests", | 
| 107 |  | -              "Frontend_Tests_Ci", | 
| 108 |  | -              "Pack", | 
| 109 |  | -              "Publish" | 
| 110 |  | -            ] | 
|  | 140 | +            "$ref": "#/definitions/ExecutableTarget" | 
| 111 | 141 |           } | 
| 112 | 142 |         }, | 
| 113 |  | -        "Solution": { | 
| 114 |  | -          "type": "string", | 
| 115 |  | -          "description": "Path to a solution file that is automatically loaded" | 
| 116 |  | -        }, | 
| 117 |  | -        "SonarToken": { | 
| 118 |  | -          "type": "string", | 
| 119 |  | -          "default": "Secrets must be entered via 'nuke :secrets [profile]'" | 
| 120 |  | -        }, | 
| 121 |  | -        "SonarTokenUi": { | 
| 122 |  | -          "type": "string", | 
| 123 |  | -          "default": "Secrets must be entered via 'nuke :secrets [profile]'" | 
| 124 |  | -        }, | 
| 125 | 143 |         "Target": { | 
| 126 | 144 |           "type": "array", | 
| 127 | 145 |           "description": "List of targets to be invoked. Default is '{default_target}'", | 
| 128 | 146 |           "items": { | 
| 129 |  | -            "type": "string", | 
| 130 |  | -            "enum": [ | 
| 131 |  | -              "Backend_Clean", | 
| 132 |  | -              "Backend_Compile", | 
| 133 |  | -              "Backend_Report_Ci", | 
| 134 |  | -              "Backend_Restore", | 
| 135 |  | -              "Backend_SonarScan_End", | 
| 136 |  | -              "Backend_SonarScan_Start", | 
| 137 |  | -              "Backend_Test", | 
| 138 |  | -              "Backend_Test_Ci", | 
| 139 |  | -              "Clean", | 
| 140 |  | -              "Frontend_Build", | 
| 141 |  | -              "Frontend_Clean", | 
| 142 |  | -              "Frontend_Restore", | 
| 143 |  | -              "Frontend_Tests", | 
| 144 |  | -              "Frontend_Tests_Ci", | 
| 145 |  | -              "Pack", | 
| 146 |  | -              "Publish" | 
| 147 |  | -            ] | 
|  | 147 | +            "$ref": "#/definitions/ExecutableTarget" | 
| 148 | 148 |           } | 
| 149 | 149 |         }, | 
| 150 |  | -        "Ui": { | 
| 151 |  | -          "type": "string" | 
| 152 |  | -        }, | 
| 153 | 150 |         "Verbosity": { | 
| 154 |  | -          "type": "string", | 
| 155 | 151 |           "description": "Logging verbosity during build execution. Default is 'Normal'", | 
| 156 |  | -          "enum": [ | 
| 157 |  | -            "Minimal", | 
| 158 |  | -            "Normal", | 
| 159 |  | -            "Quiet", | 
| 160 |  | -            "Verbose" | 
| 161 |  | -          ] | 
|  | 152 | +          "$ref": "#/definitions/Verbosity" | 
| 162 | 153 |         } | 
| 163 | 154 |       } | 
| 164 | 155 |     } | 
| 165 |  | -  } | 
|  | 156 | +  }, | 
|  | 157 | +  "$ref": "#/definitions/NukeBuild" | 
| 166 | 158 | } | 
0 commit comments