Muting a test in a subproject

We are encountering some issues with the muting/unmuting feature when running some out tests on some svn branches, which are organized in TeamCity subprojects. 

All those builds share the same build configuration but use different sources (same VCS, just different checkout rules via parameters).  We can only use a “default” branch for the VCS due to the support for SVN, so all the solutions given for feature branches do not work for us. 

The way the projects are configured are like this:
Project X
 - SubProject A
    - Build A1  (test should be unmuted)
    - Build A2 (test should be unmuted)
- SubProject B
   - SubProject BA
      - Build B1 (test should be muted)
      - Build B2 (test should be muted)
   - SubProject BB
      - Build B1 (test should be muted)
      - Build B2 (test should be unmuted)

Is there a way to have a test muted (and unmuted automatically when fixed) but have that setting affect only the build configurations where it was muted and/or all the build configurations inside an specific subproject but not the rest of builds/subprojects?

0
1 comment

Hi Olga,

Have you considered doing it programmatically using the REST API?

https://www.jetbrains.com/help/teamcity/rest/muteapi.html

Perhaps you could have this logic in a bootstrap step that is shared between the mentioned build configurations, where you mute/unmute tests as needed. 

 

0

Please sign in to leave a comment.