diff --git a/Static/.vscode/tasks.json b/Static/.vscode/tasks.json
index c3ef00e..c917b60 100644
--- a/Static/.vscode/tasks.json
+++ b/Static/.vscode/tasks.json
@@ -1,28 +1,129 @@
{
- "version": "2.0.0",
- "tasks": [
+ "inputs": [
{
- "type": "shell",
- "label": "MakeDirctory",
- "command": "mkdir",
- "args": [
- "D:\\web-sites\\OI-Metrology\\pp-6737ddfb-_______-OI-Metrology-Release"
+ "default": "Development",
+ "description": "Which ASP Net Core Environment?",
+ "id": "ASPNETCORE_ENVIRONMENT",
+ "options": [
+ "Development",
+ "Production"
],
+ "type": "pickString"
},
{
- "type": "shell",
- "label": "CopySite",
- "command": "robocopy",
- "args": [
- "L:\\DevOps\\Mesa_FI\\OI-Metrology\\Static",
- "D:\\web-sites\\OI-Metrology\\pp-6737ddfb-_______-OI-Metrology-Release\\Static",
- "/E",
- "/MT:6",
- "/NFL",
- "/NDL",
- "/NJH",
- "/NJS"
+ "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"
}
\ No newline at end of file
diff --git a/Static/AwaitingDispo/index.html b/Static/AwaitingDispo/index.html
index 20aa3ba..65b9e88 100644
--- a/Static/AwaitingDispo/index.html
+++ b/Static/AwaitingDispo/index.html
@@ -50,7 +50,7 @@
Export
Archive
OI Web Services
- FI Backlog
+ Reporting Services
diff --git a/Static/Export/index.html b/Static/Export/index.html
index 20aa3ba..65b9e88 100644
--- a/Static/Export/index.html
+++ b/Static/Export/index.html
@@ -50,7 +50,7 @@
Export
Archive
OI Web Services
- FI Backlog
+ Reporting Services
diff --git a/Static/Metrology/AwaitingDispo/index.html b/Static/Metrology/AwaitingDispo/index.html
index 20aa3ba..65b9e88 100644
--- a/Static/Metrology/AwaitingDispo/index.html
+++ b/Static/Metrology/AwaitingDispo/index.html
@@ -50,7 +50,7 @@
Export
Archive
OI Web Services
- FI Backlog
+ Reporting Services
diff --git a/Static/Metrology/Export/index.html b/Static/Metrology/Export/index.html
index 20aa3ba..65b9e88 100644
--- a/Static/Metrology/Export/index.html
+++ b/Static/Metrology/Export/index.html
@@ -50,7 +50,7 @@
Export
Archive
OI Web Services
- FI Backlog
+ Reporting Services
diff --git a/Static/Metrology/RunHeaders/index.html b/Static/Metrology/RunHeaders/index.html
index 20aa3ba..65b9e88 100644
--- a/Static/Metrology/RunHeaders/index.html
+++ b/Static/Metrology/RunHeaders/index.html
@@ -50,7 +50,7 @@
Export
Archive
OI Web Services
- FI Backlog
+ Reporting Services
diff --git a/Static/Metrology/RunInfo/index.html b/Static/Metrology/RunInfo/index.html
index 20aa3ba..65b9e88 100644
--- a/Static/Metrology/RunInfo/index.html
+++ b/Static/Metrology/RunInfo/index.html
@@ -50,7 +50,7 @@
Export
Archive
OI Web Services
- FI Backlog
+ Reporting Services
diff --git a/Static/Metrology/index.html b/Static/Metrology/index.html
index 20aa3ba..65b9e88 100644
--- a/Static/Metrology/index.html
+++ b/Static/Metrology/index.html
@@ -50,7 +50,7 @@
Export
Archive
OI Web Services
- FI Backlog
+ Reporting Services
diff --git a/Static/RunHeaders/index.html b/Static/RunHeaders/index.html
index 20aa3ba..65b9e88 100644
--- a/Static/RunHeaders/index.html
+++ b/Static/RunHeaders/index.html
@@ -50,7 +50,7 @@
Export
Archive
OI Web Services
- FI Backlog
+ Reporting Services
diff --git a/Static/RunInfo/index.html b/Static/RunInfo/index.html
index 20aa3ba..65b9e88 100644
--- a/Static/RunInfo/index.html
+++ b/Static/RunInfo/index.html
@@ -50,7 +50,7 @@
Export
Archive
OI Web Services
- FI Backlog
+ Reporting Services
diff --git a/Static/awaiting-disposition.html b/Static/awaiting-disposition.html
index 27049d8..1ff9e0b 100644
--- a/Static/awaiting-disposition.html
+++ b/Static/awaiting-disposition.html
@@ -49,7 +49,7 @@
Export
Archive
OI Web Services
- FI Backlog
+ Reporting Services
diff --git a/Static/export.html b/Static/export.html
index 8cca0f6..ef776c6 100644
--- a/Static/export.html
+++ b/Static/export.html
@@ -50,7 +50,7 @@
Export
Archive
OI Web Services
- FI Backlog
+ Reporting Services
diff --git a/Static/files.html b/Static/files.html
index f9f3734..47a5d5d 100644
--- a/Static/files.html
+++ b/Static/files.html
@@ -50,7 +50,7 @@
Export
Archive
OI Web Services
- FI Backlog
+ Reporting Services
diff --git a/Static/index.html b/Static/index.html
index 20aa3ba..65b9e88 100644
--- a/Static/index.html
+++ b/Static/index.html
@@ -50,7 +50,7 @@
Export
Archive
OI Web Services
- FI Backlog
+ Reporting Services
diff --git a/Static/run-headers.html b/Static/run-headers.html
index 4f67a76..f149f0f 100644
--- a/Static/run-headers.html
+++ b/Static/run-headers.html
@@ -50,7 +50,7 @@
Export
Archive
OI Web Services
- FI Backlog
+ Reporting Services
diff --git a/Static/static-pipeline.yml b/Static/static-pipeline.yml
new file mode 100644
index 0000000..6820589
--- /dev/null
+++ b/Static/static-pipeline.yml
@@ -0,0 +1,47 @@
+trigger:
+ branches:
+ include:
+ - master
+ paths:
+ include:
+ - Static
+
+stages:
+ - stage: Static
+ displayName: Static
+ pool:
+ name: 'OpenInsight Metrology Viewer'
+ demands: OpenInsight-Metrology-Viewer-Wafer-Counter-Static
+ variables:
+ assemblyTitle: 'OI.Metrology.Wafer.Static'
+ configuration: 'Static'
+ jobs:
+ - job: Static
+ steps:
+ - script: |
+ echo Assembly Title: $(AssemblyTitle)
+ echo Build Id: $(Build.BuildId)
+ echo Build Reason: $(Build.Reason)
+ echo Repo Id: $(Build.Repository.Id)
+ echo Repo Name: $(Build.Repository.Name)
+ echo Source Version: $(Build.SourceVersion)
+ echo Configuration: $(Configuration)
+ displayName: 'Echo Check'
+
+ - script: (robocopy /MIR \"..\Static\" \"D:\$(Configuration)\$(Build.Repository.Name)\$(Build.Repository.Id)\$(AssemblyTitle)\") ^& IF %ERRORLEVEL% LEQ 7 exit 0
+ workingDirectory: Static
+ displayName: 'Robocopy'
+
+ - script: rmdir "D:\web-sites\$(AssemblyTitle).$(Configuration)"
+ workingDirectory: Static
+ displayName: 'Remove MKLink'
+ continueOnError: true
+
+ - script: mklink /J "D:\web-sites\$(AssemblyTitle).$(Configuration)" "D:\$(Configuration)\$(Build.Repository.Name)\$(Build.Repository.Id)\$(AssemblyTitle)"
+ workingDirectory: Static
+ displayName: 'Create MKLink'
+
+ - script: mkdir "D:\web-sites\$(AssemblyTitle).$(Configuration)\$(AssemblyTitle).$(Configuration)"
+ workingDirectory: Static
+ displayName: 'Make Directory'
+ continueOnError: true