-1

We're using TeamCity to build all our Unity games and I would like to set up custom failure conditions for all build configurations. Our current structure looks like this:

Root/
  Project1/
    Build Android
    Build iOS
  Project2/
    Build iOS
    Build Windows
    Build AnotherPlatform...

Where each platform inherits a build configuration template owned by root. I'm able to add failure conditions to the build configuration templates (for example Build for Android), but because we have templates for seven different platforms I would have to add the same conditions to all of them. Is there any way to add failure conditions to the root or sub projects for example, so all the templates share the same conditions?

1 Answer 1

0

One way to achieve this is to create a build configuration template with the failure conditions, and attach that to all the build configurations (possible since 2017.2). But a quite large downside to this is the fact that you can't attach a template to a template, so that would require having to do that to all the different configurations.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.