如何在构建管道中指定我的自定义代理? [英] How do I specify my custom agent in the build pipeline?

查看:59
本文介绍了如何在构建管道中指定我的自定义代理?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在关注 Donovan Brown's博客文章,尝试为VB6设置构建代理

I am following Donovan Brown's blog post to try and setup a build agent for VB6

我可以在座席池中看到我的座席

I can see my agent in the agent pools

,但不知道要放置什么作为图像.

but don't know what to put as the image.

我尝试了Default并尝试了vb6vm3,但是无法使用这些值保存管道.

I tried Default and I tried vb6vm3 but was unable to save the pipeline with these values.

推荐答案

定位所需的队列,而不是目标池.尝试用下面的代码替换池代码.

Target the desired Queue, not the Pool. Try replacing the pool code with the code below.

  queue:
    name: Default

我还发现使用图形用户界面来创建我的构建并使用Show YAML按钮来为我编写yaml更加容易.

I also find it easier to use the graphical user interface to create my build and use the Show YAML button to get the yaml written for me.

这篇关于如何在构建管道中指定我的自定义代理?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆