Skip to content

Commit

Permalink
updated pipeline cypress screenshots publish task to only run if test…
Browse files Browse the repository at this point in the history
… run failed
  • Loading branch information
navbhati committed May 27, 2020
1 parent 9ea646e commit 6649e9e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "cypress and azure devops",
"name": "CypressAndAzureDevOps",
"version": "1.0.0",
"description": "cypress and azure devops",
"main": "index.js",
Expand Down
2 changes: 1 addition & 1 deletion ymal_pipeline/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ steps:
inputs:
PathtoPublish: cypress/screenshots
ArtifactName: CypressAndAzureDevopsTestRunScreenshots
condition: succeededOrFailed()
condition: failed()

- task: PublishBuildArtifacts@1
displayName: "Publish Artifact: cypress-and-azure-devops Videos "
Expand Down

0 comments on commit 6649e9e

Please sign in to comment.