build.schema.json 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  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. "Partition": {
  51. "type": "string",
  52. "description": "Partition to use on CI"
  53. },
  54. "Plan": {
  55. "type": "boolean",
  56. "description": "Shows the execution plan (HTML)"
  57. },
  58. "Profile": {
  59. "type": "array",
  60. "description": "Defines the profiles to load",
  61. "items": {
  62. "type": "string"
  63. }
  64. },
  65. "Root": {
  66. "type": "string",
  67. "description": "Root directory during build execution"
  68. },
  69. "Skip": {
  70. "type": "array",
  71. "description": "List of targets to be skipped. Empty list skips all dependencies",
  72. "items": {
  73. "type": "string",
  74. "enum": [
  75. "Clean",
  76. "Compile",
  77. "Publish",
  78. "Restore",
  79. "Test"
  80. ]
  81. }
  82. },
  83. "Solution": {
  84. "type": "string",
  85. "description": "Path to a solution file that is automatically loaded"
  86. },
  87. "Target": {
  88. "type": "array",
  89. "description": "List of targets to be invoked. Default is '{default_target}'",
  90. "items": {
  91. "type": "string",
  92. "enum": [
  93. "Clean",
  94. "Compile",
  95. "Publish",
  96. "Restore",
  97. "Test"
  98. ]
  99. }
  100. },
  101. "Verbosity": {
  102. "type": "string",
  103. "description": "Logging verbosity during build execution. Default is 'Normal'",
  104. "enum": [
  105. "Minimal",
  106. "Normal",
  107. "Quiet",
  108. "Verbose"
  109. ]
  110. }
  111. }
  112. }
  113. }
  114. }