feat: Add Interactive mode with target selection #530
windows-latest.yml
on: pull_request
windows-latest
5m 56s
Annotations
10 errors
windows-latest
[xUnit.net 00:00:01.92] Nuke.Common.Tests.SchemaUtilityTest.TestTargetBuild [FAIL]
|
windows-latest
[xUnit.net 00:00:01.95] Nuke.Common.Tests.SchemaUtilityTest.TestCustomParameterAttributeAttribute [FAIL]
|
windows-latest
[xUnit.net 00:00:01.96] Nuke.Common.Tests.SchemaUtilityTest.TestEmptyBuild [FAIL]
|
windows-latest
[xUnit.net 00:00:02.05] Nuke.Common.Tests.SchemaUtilityTest.TestParameterBuild [FAIL]
|
Nuke.Common.Tests.SchemaUtilityTest.TestTargetBuild
VerifyException : Directory: D:\a\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"
}
-
|
Nuke.Common.Tests.SchemaUtilityTest.TestCustomParameterAttributeAttribute
VerifyException : Directory: D:\a\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"
}
|
Nuke.Common.Tests.SchemaUtilityTest.TestEmptyBuild
VerifyException : Directory: D:\a\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"
}
-
|
Nuke.Common.Tests.SchemaUtilityTest.TestParameterBuild
VerifyException : Directory: D:\a\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
|
windows-latest
Target "Test" has thrown an exception
|
windows-latest
Process completed with exit code 1.
|