Samples/DCKissTest.ps1
Import-Module Cidney -Force Pipeline: DCKiss { Import-Module Cidney.Commands -Force Stage: GetSource { Do: { Build -Path '$/Development/DealerCenter/Integration/Apps/QuickBooks/DCQBConnector' -LocalPath d:\Prj\DCQBConnector -SolutionName DCQBConnector.sln } Do: { Build -Path '$/Development/DealerCenter/Integration/Apps/TNHReynoldsInvImport' -LocalPath D:\Prj\TNHReynoldsInvImport -SolutionName TNHReynoldsInventoryImport.sln } Do: { Build -Path '$/Development/Services/Azure/dev2/FileManagement' -LocalPath D:\Prj\FileManagement -SolutionName CloudService.sln } Do: { Build -Path '$/Development/Services/PdfService/Integration' -LocalPath D:\Prj\PDFService -SolutionName PDFService.sln } } Stage: ProvisionEnvironment { Do: { New-Computer Washington } Do: { New-Computer Idaho } Do: { New-Computer Hollywood } Do: { New-Computer Test1 } Do: { New-Computer Test2 } } Stage: Test { Test-DCKiss } Stage: Deploy { Do: { Install-Files -ComputerName Washington } Do: { Install-Files -ComputerName Idaho } Do: { Install-Files -ComputerName Hollywood } } Stage: Report { Do: { Send-Slack } Do: { Send-Email } } } -Verbose -Invoke |