【问题标题】:Creating a label in Azure Devops pipeline在 Azure Devops 管道中创建标签
【发布时间】:2022-01-03 15:08:26
【问题描述】:

我想在 Azure Devops 任务上设置标签,但不是通过内置标签选项,如您在所附照片中看到的那样。

我该怎么做?

谢谢

【问题讨论】:

    标签: azure azure-devops azure-pipelines


    【解决方案1】:

    tf.exe 命令在构建代理上可用。只需在管道中使用带有适当 tf command 的命令行脚本。

    - task: Cmdline@2
      inputs:
        script: 'tf label goodbuild docs /recursive'
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2020-01-19
      • 1970-01-01
      • 2021-07-22
      • 1970-01-01
      • 1970-01-01
      • 2019-11-13
      • 2021-01-21
      • 2023-01-11
      相关资源
      最近更新 更多