timomeinen / team-piazza

A build monitor for the TeamCity continuous integration server
GNU General Public License v3.0
17 stars 7 forks source link

Group build definition results by sub-project #59

Open lawrencecraft opened 8 years ago

lawrencecraft commented 8 years ago

We structure TeamCity with sub-projects like the following:

Core Services:
|__Service1
   |__Development
   |__Test Deploy
   |__Production Deploy
|__Service2
   |__Development
   |__Test Deploy
   |__Production Deploy

Libraries:
|__Library1
   |__Development
   |__Publish
|__Library2
   |__Development
   |__Publish

Team Piazza just shows "Core Services" as a heading, and the name of the build definition--which doesn't include the name of the service (e.g. just Development rather than grouping all of Service1's definitions).

It would be nice to have an option to group build definitions from sub-projects.

timomeinen commented 8 years ago

Thank you for your suggestion. We haven't supported multi-level configurations like yours until now. Is it possible to get an aggregated view, if you start piazza on "Service1" level instead of "Core Services"?

I will create a sample setup and see what we can do.

lawrencecraft commented 8 years ago

Well, the only ones we really want on our dashboard are the Development build definitions rather than the deployments. We could start it on the Service1 level, but we'd rather get all our builds on a single dashboard. Thanks!

timomeinen commented 8 years ago

Ok, understood the point. Currently, we use this hierarchical style of "project filtering" and show all projects which are hierarchically on a lower level. You could reorder your projects like so:

.
├── Deployment
│   ├── Service1
│   └── Service2
└── Development
    ├── Service1
    └── Service2

But I understand, that you don't want to rearrange your projects just to be able to have a nicer Dashboard.

What does happen if you untick the option "Enable Status Widget" in the configuration for the Deployment configurations? Team Piazza only shows build configurations which have this option enabled.

timomeinen commented 8 years ago

Roger, now I got it after creating a demo project:

bildschirmfoto 2015-10-17 um 17 48 36

This is what Piazza looks like:

bildschirmfoto 2015-10-17 um 17 48 51

What should the view be like? Should the build configurations be grouped by their subprojects?