Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lydonchandra/e11cfe22cb852e3f72b18fd7b9b4f47d to your computer and use it in GitHub Desktop.
Save lydonchandra/e11cfe22cb852e3f72b18fd7b9b4f47d to your computer and use it in GitHub Desktop.
download Tests DLL and run dotnet test on it
- task: DownloadPipelineArtifact@2
inputs:
source: 'specific'
project: 'projectName1'
pipeline: 5432
path: './tests' # destinationPath
runVersion: 'specific'
# use specific runId to troubleshoot
runId: 1433
- task: PowerShell@2
displayName: 'List files, debugging purpose'
inputs:
targetType: 'inline'
script: "ls -R ."
- task: DotNetCoreCLI@2
inputs:
command: 'test'
arguments: './tests/Tests.dll'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment