feat: Add Interactive mode with target selection #530
Annotations
10 errors
Run: Test, Pack
[xUnit.net 00:00:01.39] Nuke.Common.Tests.SchemaUtilityTest.TestTargetBuild [FAIL]
|
Run: Test, Pack
VerifyException : Directory: /home/runner/work/nuke/nuke/source/Nuke.Build.Tests
NotEqual:
- Received: SchemaUtilityTest.TestTargetBuild.received.json
Verified: SchemaUtilityTest.TestTargetBuild.verified.json
FileContent:
NotEqual:
Received: SchemaUtilityTest.TestTargetBuild.received.json
Verified: SchemaUtilityTest.TestTargetBuild.verified.json
Compare Result:
{
"$schema": "http://json-schema.org/draft-04/schema#",
"definitions": {
"Host": {
"type": "string",
"enum": [
"Rider",
"Terminal",
"VisualStudio",
"VSCode"
]
},
"ExecutableTarget": {
"type": "string",
"enum": [
"ExplicitTarget",
"ImplementedTarget",
"InheritedTarget",
"RegularTarget"
]
},
"Verbosity": {
"type": "string",
"description": "",
"enum": [
"Verbose",
"Normal",
"Minimal",
"Quiet"
]
},
"NukeBuild": {
"properties": {
"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": {
"description": "Host for execution. Default is 'automatic'",
"$ref": "#/definitions/Host"
},
+ "Interactive": {
+ "type": "boolean",
+ "description": "Activates the interactive mode when asking for user inputs"
+ },
"NoLogo": {
"type": "boolean",
"description": "Disables displaying the NUKE logo"
},
"Partition": {
"type": "string",
"description": "Partition to use on CI"
},
"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": {
"$ref": "#/definitions/ExecutableTarget"
}
},
"Target": {
"type": "array",
"description": "List of targets to be invoked. Default is '{default_target}'",
"items": {
"$ref": "#/definitions/ExecutableTarget"
}
},
"Verbosity": {
"description": "Logging verbosity during build execution. Default is 'Normal'",
"$ref": "#/definitions/Verbosity"
}
}
}
},
"$ref": "#/definitions/NukeBuild"
}
-
|
Run: Test, Pack
[xUnit.net 00:00:01.43] Nuke.Common.Tests.SchemaUtilityTest.TestCustomParameterAttributeAttribute [FAIL]
|
Run: Test, Pack
[xUnit.net 00:00:01.44] Nuke.Common.Tests.SchemaUtilityTest.TestEmptyBuild [FAIL]
|
Run: Test, Pack
[xUnit.net 00:00:01.49] Nuke.Common.Tests.SchemaUtilityTest.TestParameterBuild [FAIL]
|
Run: Test, Pack
VerifyException : Directory: /home/runner/work/nuke/nuke/source/Nuke.Build.Tests
NotEqual:
- Received: SchemaUtilityTest.TestCustomParameterAttributeAttribute.received.json
Verified: SchemaUtilityTest.TestCustomParameterAttributeAttribute.verified.json
FileContent:
NotEqual:
Received: SchemaUtilityTest.TestCustomParameterAttributeAttribute.received.json
Verified: SchemaUtilityTest.TestCustomParameterAttributeAttribute.verified.json
Compare Result:
{
"$schema": "http://json-schema.org/draft-04/schema#",
"properties": {
"ComplexTypeParamWithAttribute": {
"type": "string"
}
},
"definitions": {
"Host": {
"type": "string",
"enum": [
"Rider",
"Terminal",
"VisualStudio",
"VSCode"
]
},
"ExecutableTarget": {
"type": "string"
},
"Verbosity": {
"type": "string",
"description": "",
"enum": [
"Verbose",
"Normal",
"Minimal",
"Quiet"
]
},
"NukeBuild": {
"properties": {
"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": {
"description": "Host for execution. Default is 'automatic'",
"$ref": "#/definitions/Host"
},
+ "Interactive": {
+ "type": "boolean",
+ "description": "Activates the interactive mode when asking for user inputs"
+ },
"NoLogo": {
"type": "boolean",
"description": "Disables displaying the NUKE logo"
},
"Partition": {
"type": "string",
"description": "Partition to use on CI"
},
"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": {
"$ref": "#/definitions/ExecutableTarget"
}
},
"Target": {
"type": "array",
"description": "List of targets to be invoked. Default is '{default_target}'",
"items": {
"$ref": "#/definitions/ExecutableTarget"
}
},
"Verbosity": {
"description": "Logging verbosity during build execution. Default is 'Normal'",
"$ref": "#/definitions/Verbosity"
}
}
}
},
"$ref": "#/definitions/NukeBuild"
}
|
Run: Test, Pack
VerifyException : Directory: /home/runner/work/nuke/nuke/source/Nuke.Build.Tests
NotEqual:
- Received: SchemaUtilityTest.TestEmptyBuild.received.json
Verified: SchemaUtilityTest.TestEmptyBuild.verified.json
FileContent:
NotEqual:
Received: SchemaUtilityTest.TestEmptyBuild.received.json
Verified: SchemaUtilityTest.TestEmptyBuild.verified.json
Compare Result:
{
"$schema": "http://json-schema.org/draft-04/schema#",
"definitions": {
"Host": {
"type": "string",
"enum": [
"Rider",
"Terminal",
"VisualStudio",
"VSCode"
]
},
"ExecutableTarget": {
"type": "string"
},
"Verbosity": {
"type": "string",
"description": "",
"enum": [
"Verbose",
"Normal",
"Minimal",
"Quiet"
]
},
"NukeBuild": {
"properties": {
"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": {
"description": "Host for execution. Default is 'automatic'",
"$ref": "#/definitions/Host"
},
+ "Interactive": {
+ "type": "boolean",
+ "description": "Activates the interactive mode when asking for user inputs"
+ },
"NoLogo": {
"type": "boolean",
"description": "Disables displaying the NUKE logo"
},
"Partition": {
"type": "string",
"description": "Partition to use on CI"
},
"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": {
"$ref": "#/definitions/ExecutableTarget"
}
},
"Target": {
"type": "array",
"description": "List of targets to be invoked. Default is '{default_target}'",
"items": {
"$ref": "#/definitions/ExecutableTarget"
}
},
"Verbosity": {
"description": "Logging verbosity during build execution. Default is 'Normal'",
"$ref": "#/definitions/Verbosity"
}
}
}
},
"$ref": "#/definitions/NukeBuild"
}
-
|
Run: Test, Pack
VerifyException : Directory: /home/runner/work/nuke/nuke/source/Nuke.Build.Tests
NotEqual:
- Received: SchemaUtilityTest.TestParameterBuild.received.json
Verified: SchemaUtilityTest.TestParameterBuild.verified.json
FileContent:
NotEqual:
Received: SchemaUtilityTest.TestParameterBuild.received.json
Verified: SchemaUtilityTest.TestParameterBuild.verified.json
Compare Result:
{
"$schema": "http://json-schema.org/draft-04/schema#",
"properties": {
"BooleanParam": {
"type": "boolean"
},
"ComplexTypeArrayParam": {
"type": "array",
"items": {
"$ref": "#/definitions/ComplexType"
}
},
"ComplexTypeParam": {
"$ref": "#/definitions/ComplexType"
},
"ComponentInheritedParam": {
"type": "string"
},
"CustomEnumerationArrayParam": {
"type": "array",
"items": {
"type": "string",
"enum": [
"Debug",
"Release"
]
}
},
"CustomEnumerationParam": {
"type": "string",
"enum": [
"Debug",
"Release"
]
},
"IntegerArrayParam": {
"type": "array",
"items": {
"type": "integer",
"format": "int32"
}
},
"NullableBooleanParam": {
"type": [
"boolean",
"null"
]
},
"RegularParam": {
"type": "string"
},
"SecretParam": {
"type": "string",
"default": "Secrets must be entered via 'nuke :secrets [profile]'"
},
"StringArrayParam": {
"type": "array",
"items": {
"type": "string"
}
}
},
"definitions": {
"ComplexType": {
"type": "object",
"properties": {
"String": {
"type": [
"null",
"string"
]
},
"Number": {
"type": "integer",
"format": "int32"
},
"Paths": {
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
},
"SubObject": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/definitions/ComplexSubType"
}
]
}
}
},
"ComplexSubType": {
"type": "object",
"properties": {
"Boolean": {
"type": [
"boolean",
"null"
]
}
}
},
"Host": {
"type": "string",
"enum": [
"Rider",
"Terminal",
"VisualStudio",
"VSCode"
]
},
"ExecutableTarget": {
"type": "string"
},
"Verbosity": {
"type": "string",
"description": "",
"enum": [
"Verbose",
"Normal",
"Minimal",
"Quiet"
]
},
"NukeBuild": {
"properties": {
"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": {
"description": "Host for execution. Default is 'automatic'",
"$ref": "#/definitions/Host"
},
+ "Interactive": {
+ "type": "boolean",
+ "description": "Activates the interactive mode when asking for user inputs"
+ },
"NoLogo": {
"type": "boolean",
"description": "Disables displaying the NUKE logo"
},
"Partition": {
"type": "string",
"description": "Partition to use on CI"
},
"Plan": {
"type": "boolean",
"description": "Shows the execution plan (HTML)"
|
Run: Test, Pack
Target "Test" has thrown an exception
|
Run: Test, Pack
Process completed with exit code 255.
|
Loading