【发布时间】:2022-11-28 10:08:10
【问题描述】:
我的 Azure 存储库上有一个 python 脚本。 它称为 build.py,位于文件夹 swagger_updater 中。 我可以使用以下脚本轻松地在构建管道中使用它:
steps:
- task: PythonScript@0
inputs:
scriptSource: filePath
scriptPath: swagger_updater/build.py
pythonInterpreter: /usr/bin/python3
现在,我想在发布管道中运行,我的 release.py 脚本位于同一个 swagger_updater 文件夹中。 我应该在脚本路径中写什么?如果我写 swagger_updater/release.py 它不起作用。 请看这个image
【问题讨论】:
标签: python azure-devops azure-pipelines azure-releases