This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| param | |
| ( | |
| [Parameter(Mandatory=$True,Position=1)] | |
| [string]$url, | |
| [Parameter(Mandatory=$True,Position=2)] | |
| [string]$expectedString | |
| ) | |
| [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| steps: | |
| - task: IISWebAppManagementOnMachineGroup@0 | |
| displayName: 'Configure IIS' | |
| inputs: | |
| EnableIIS: true | |
| IISDeploymentType: 'IISWebsite' | |
| ActionIISWebsite: 'CreateOrUpdateWebsite' | |
| WebsiteName: '$(iisWebsite)' | |
| WebsitePhysicalPath: '%SystemDrive%\inetpub\wwwroot\$(iisWebsite)' | |
| WebsitePhysicalPathAuth: 'WebsiteUserPassThrough' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| parameters: | |
| - name: listOfStrings | |
| displayName: 'List of strings' | |
| type: object | |
| default: | |
| - one | |
| - two | |
| - three | |
| steps: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| parameters: | |
| - name: solutionFile | |
| type: string | |
| - name: projectName | |
| type: string | |
| - name: buildConfiguration | |
| type: string | |
| default: 'Release' | |
| variables: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This file needs to be in the root of a repo. | |
| coverage: | |
| status: | |
| comments: on | |
| diff: | |
| target: 70% |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Node.js | |
| # Build a general Node.js project with npm. | |
| # Add steps that analyze code, save build artifacts, deploy, and more: | |
| # https://docs.microsoft.com/azure/devops/pipelines/languages/javascript | |
| trigger: | |
| - master | |
| stages: | |
| - stage: Build |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Node.js | |
| # Build a general Node.js project with npm. | |
| # Add steps that analyze code, save build artifacts, deploy, and more: | |
| # https://docs.microsoft.com/azure/devops/pipelines/languages/javascript | |
| trigger: | |
| - master | |
| stages: | |
| - stage: Build |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Node.js | |
| # Build a general Node.js project with npm. | |
| # Add steps that analyze code, save build artifacts, deploy, and more: | |
| # https://docs.microsoft.com/azure/devops/pipelines/languages/javascript | |
| trigger: | |
| - master | |
| pool: | |
| vmImage: 'windows-latest' # or: 'ubuntu-latest' |