129 lines
3.9 KiB
JSON
129 lines
3.9 KiB
JSON
{
|
|
"inputs": [
|
|
{
|
|
"default": "Development",
|
|
"description": "Which ASP Net Core Environment?",
|
|
"id": "ASPNETCORE_ENVIRONMENT",
|
|
"options": [
|
|
"Development",
|
|
"Production"
|
|
],
|
|
"type": "pickString"
|
|
},
|
|
{
|
|
"default": "{AssemblyTitle}",
|
|
"description": "What Assembly Title?",
|
|
"id": "AssemblyTitle",
|
|
"type": "promptString"
|
|
},
|
|
{
|
|
"default": "{Build.BuildId}",
|
|
"description": "Which Build BuildId?",
|
|
"id": "Build.BuildId",
|
|
"type": "promptString"
|
|
},
|
|
{
|
|
"default": "{Build.Reason}",
|
|
"description": "Which Build Reason?",
|
|
"id": "Build.Reason",
|
|
"type": "promptString"
|
|
},
|
|
{
|
|
"default": "{Build.Repository.Id}",
|
|
"description": "Which Build Repository Id?",
|
|
"id": "Build.Repository.Id",
|
|
"type": "promptString"
|
|
},
|
|
{
|
|
"default": "{Build.Repository.Name}",
|
|
"description": "Which Build Repository Name?",
|
|
"id": "Build.Repository.Name",
|
|
"type": "promptString"
|
|
},
|
|
{
|
|
"default": "{Build.SourceVersion}",
|
|
"description": "Which Build Source Version?",
|
|
"id": "Build.SourceVersion",
|
|
"type": "promptString"
|
|
},
|
|
{
|
|
"default": "Static",
|
|
"description": "Which Configuration?",
|
|
"id": "Configuration",
|
|
"options": [
|
|
"Debug",
|
|
"Release",
|
|
"Static"
|
|
],
|
|
"type": "pickString"
|
|
},
|
|
{
|
|
"default": "net8.0",
|
|
"description": "Which Core Version?",
|
|
"id": "CoreVersion",
|
|
"options": [
|
|
"net8.0"
|
|
],
|
|
"type": "pickString"
|
|
},
|
|
{
|
|
"default": "C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/MSBuild/Current/Bin/MSBuild.exe",
|
|
"description": "Which MS Build?",
|
|
"id": "MSBuild",
|
|
"type": "promptString"
|
|
},
|
|
{
|
|
"default": "https://artifactory.intra.infineon.com/artifactory/api/nuget/ngt-fi-package-main-vir/",
|
|
"description": "Which Nuget Source?",
|
|
"id": "NugetSource",
|
|
"type": "promptString"
|
|
},
|
|
{
|
|
"default": "win-x64",
|
|
"description": "Which Runtime?",
|
|
"id": "Runtime",
|
|
"options": [
|
|
"win-x64",
|
|
"win-x32",
|
|
"linux-x64",
|
|
"linux-x32"
|
|
],
|
|
"type": "pickString"
|
|
},
|
|
{
|
|
"default": "L:/",
|
|
"description": "Which System DefaultWorkingDirectory?",
|
|
"id": "System.DefaultWorkingDirectory",
|
|
"options": [
|
|
"L:/",
|
|
"D:/",
|
|
"C:/"
|
|
],
|
|
"type": "pickString"
|
|
},
|
|
{
|
|
"default": "v4.8",
|
|
"description": "Which Core Target Framework Version?",
|
|
"id": "TargetFrameworkVersion",
|
|
"options": [
|
|
"v4.8"
|
|
],
|
|
"type": "pickString"
|
|
},
|
|
{
|
|
"default": "{UserSecretsId}",
|
|
"description": "Which Core User Secrets Id?",
|
|
"id": "UserSecretsId",
|
|
"type": "promptString"
|
|
}
|
|
],
|
|
"tasks": [
|
|
{
|
|
"command": "(robocopy /MIR \"../Static\" \"D:/${input:Configuration}/${input:Build.Repository.Name}/${input:Build.Repository.Id}/${input:AssemblyTitle}\") ^& IF %ERRORLEVEL% LEQ 7 exit 0",
|
|
"label": "Copy Files to: D:/",
|
|
"problemMatcher": [],
|
|
"type": "shell"
|
|
}
|
|
],
|
|
"version": "2.0.0"
|
|
} |