diff --git a/package.json b/package.json index a989a5b..202921b 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "cypress and azure devops", + "name": "CypressAndAzureDevOps", "version": "1.0.0", "description": "cypress and azure devops", "main": "index.js", diff --git a/ymal_pipeline/azure-pipelines.yml b/ymal_pipeline/azure-pipelines.yml index 6336874..f8668be 100644 --- a/ymal_pipeline/azure-pipelines.yml +++ b/ymal_pipeline/azure-pipelines.yml @@ -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 "