Add BizTalk Server project build component to build agent machine. (#1960)

* Add BizTalk Project Build components, including msi and vsix.

* Add BizTalk Build Components to software report.

* Use registry/folder check replace actually BizTalk Project building for testing purpose.

* Remove unnecessary try/catch.

* Make sure BizTalk related software report only for Windows 2019 OS.

* Add statement to make sure BizTalk test only invoked in Win19 env.

* Fix test failue when no test runs use "skip"

* Update the TestName to be identity to BizTalk.Test.ps1
This commit is contained in:
Elvis Shi
2020-11-24 08:20:02 -08:00
committed by GitHub
parent e707b6a3c5
commit 3a7123ebeb
6 changed files with 127 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
################################################################################
## File: BizTalk.Tests.ps1
## Desc: Test BizTalk project build component installed.
################################################################################
Describe "BizTalk Build Component Setup" -Skip:(Test-IsWin16) {
It "BizTalk Registry Check" {
Test-Path "HKLM:\SOFTWARE\WOW6432Node\Microsoft\BizTalk Server\3.0" | Should -BeTrue
}
It "BizTalk Folder Check" {
"${env:ProgramFiles(x86)}\Microsoft BizTalk Server" | Should -Exist
}
It "BizTalk Build Targets files Check" {
"${env:ProgramFiles(x86)}\MSBuild\Microsoft\BizTalk\BizTalkC.targets" | Should -Exist
"${env:ProgramFiles(x86)}\MSBuild\Microsoft\BizTalk\BizTalkCommon.targets" | Should -Exist
}
}