문제

Suppose we have a build project which takes a list member as a parameter.

Can I make another build which could run the first project with all parameters from list sequentially?

도움이 되었습니까?

해결책

If I understand you correctly you want to reliably trigger multiple builds of type A based on a list you pass to build B.

What you could do is have B parse the list (using powershell or whatever else custom program you want to use) and then use the TeamCity REST API to trigger builds of type A with the right parameters, the syntax described here would apply to this:

To trigger a build with custom parameters (system properties and environment variables), use:

http://testuser:testpassword@teamcity.jetbrains.com/httpAuth/action.html?add2Queue=bt10&name=&value=&name=&value=

This allows you to pass the parameters you need for each build.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top