build.schema.json 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. {
  2. "$schema": "http://json-schema.org/draft-04/schema#",
  3. "title": "Build Schema",
  4. "$ref": "#/definitions/build",
  5. "definitions": {
  6. "build": {
  7. "type": "object",
  8. "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. "Continue": {
  18. "type": "boolean",
  19. "description": "Indicates to continue a previously failed build attempt"
  20. },
  21. "Help": {
  22. "type": "boolean",
  23. "description": "Shows the help text for this build assembly"
  24. },
  25. "Host": {
  26. "type": "string",
  27. "description": "Host for execution. Default is 'automatic'",
  28. "enum": [
  29. "AppVeyor",
  30. "AzurePipelines",
  31. "Bamboo",
  32. "Bitbucket",
  33. "Bitrise",
  34. "GitHubActions",
  35. "GitLab",
  36. "Jenkins",
  37. "Rider",
  38. "SpaceAutomation",
  39. "TeamCity",
  40. "Terminal",
  41. "TravisCI",
  42. "VisualStudio",
  43. "VSCode"
  44. ]
  45. },
  46. "NoLogo": {
  47. "type": "boolean",
  48. "description": "Disables displaying the NUKE logo"
  49. },
  50. "NugetApiKey": {
  51. "type": "string"
  52. },
  53. "NugetEndpoint": {
  54. "type": "string"
  55. },
  56. "Partition": {
  57. "type": "string",
  58. "description": "Partition to use on CI"
  59. },
  60. "Plan": {
  61. "type": "boolean",
  62. "description": "Shows the execution plan (HTML)"
  63. },
  64. "Profile": {
  65. "type": "array",
  66. "description": "Defines the profiles to load",
  67. "items": {
  68. "type": "string"
  69. }
  70. },
  71. "Root": {
  72. "type": "string",
  73. "description": "Root directory during build execution"
  74. },
  75. "Skip": {
  76. "type": "array",
  77. "description": "List of targets to be skipped. Empty list skips all dependencies",
  78. "items": {
  79. "type": "string",
  80. "enum": [
  81. "Clean",
  82. "Compile",
  83. "Package",
  84. "Publish",
  85. "Restore",
  86. "Test"
  87. ]
  88. }
  89. },
  90. "Solution": {
  91. "type": "string",
  92. "description": "Path to a solution file that is automatically loaded"
  93. },
  94. "Target": {
  95. "type": "array",
  96. "description": "List of targets to be invoked. Default is '{default_target}'",
  97. "items": {
  98. "type": "string",
  99. "enum": [
  100. "Clean",
  101. "Compile",
  102. "Package",
  103. "Publish",
  104. "Restore",
  105. "Test"
  106. ]
  107. }
  108. },
  109. "Verbosity": {
  110. "type": "string",
  111. "description": "Logging verbosity during build execution. Default is 'Normal'",
  112. "enum": [
  113. "Minimal",
  114. "Normal",
  115. "Quiet",
  116. "Verbose"
  117. ]
  118. }
  119. }
  120. }
  121. }
  122. }