Skip to content
This repository was archived by the owner on Sep 25, 2026. It is now read-only.
This repository was archived by the owner on Sep 25, 2026. It is now read-only.

pytest --junitxm causes a fail in triggering the pipeline? #92

Closed

Description

This command is causing a code error 127. And the pipelines fail to build.
I'm using windows 10.
I install the latest version of Pytest.

pytest --junitxml=$(Build.BinariesDirectory)/unit-testresults.xml $(Build.SourcesDirectory)/tests/unit

Activity

  1. dtzar commented on Nov 18, 2019

    @dtzar
    Contributor

    Are you trying to run that exact command locally? If so, it will fail because the $(Build.BinariesDirectory) is only understood by Azure DevOps. Pytest is working fine locally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions