Created
August 23, 2022 10:36
-
-
Save stepbester/cf62254bd423bf45d624d5207fa98fe2 to your computer and use it in GitHub Desktop.
An example step in Azure Pipelines that passes a test run parameter to the .NET CLI from a pipeline parameter
This file contains 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: testShipName | |
type: string | |
steps: | |
- task: DotNetCoreCLI@2 | |
displayName: 'Run warp core tests' | |
inputs: | |
command: 'test' | |
projects: 'Starfleet.WarpCore.Test.csproj' | |
arguments: '-- TestRunParameters.Parameter(name="\""shipName"\"", value="\""${{ parameters.testShipName }}"\"")' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment