Change current working directory in Azure Pipelines

后端 未结 1 664
逝去的感伤
逝去的感伤 2020-12-10 00:35

I\'m developing a CI for Python package in Azure Pipelines (https://github.com/scikit-image/scikit-image/blob/azure-pipelines/azure-pipelines.yml). At some point, I need to

相关标签:
1条回答
  • 2020-12-10 01:06

    It took many hours to find the solution, but, apparently, there is a way to specify working directory for specific script - https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/utility/command-line?view=vsts&tabs=yaml :

    - script: # script path or inline
      workingDirectory: #
      displayName: #
      failOnStderr: #
      env:  # mapping of environment variables to add
    
    0 讨论(0)
提交回复
热议问题