vyadh / teamcity-deployment-dashboard

A TeamCity dashboard to help summarise what app version has been released to what environment.
Apache License 2.0
26 stars 5 forks source link

Simplify dashboard configuration #16

Open pavelsher opened 5 years ago

pavelsher commented 5 years ago

Currently it's a bit tricky to configure the dashboard. For instance it is not clear that only build configurations of Deployment type are considered. Seems it's not stated anywhere in the UI.

Maybe it would be better to have some preview of the dashboard right on the configuration page, or at least show what build configurations are matched by the provided criteria and why.

vyadh commented 5 years ago

That's a nice idea. Thanks for the feedback. I'll think about how best to go about that.

This is mentioned as the first point in Deployment Visibility section of the readme, but I would agree that's still not very visible.

mabakay commented 5 years ago

Done everything what documentation says, make few "deployment" builds and still having blank "Deplyments" tab :-(

vyadh commented 5 years ago

@mabakay Can you attach a screenshot of the configuration as well as showing how your projects are setup so I can take a look?

mabakay commented 5 years ago

Project where dashboard is configured: image

Child build configuration of type Deployment: image

Child configuration: image

Root project dashboard result after 6 builds: image

vyadh commented 5 years ago

Excellent, thanks for the info. The last screenshot is the most telling. Normally, if the plugin cannot find any builds, you will still see the search bar and the list of your configured environments. In this case everything is missing, which means it's not just a data problem - it's not been able to load the front-end code at all.

Could you please tell me:

1) What version of TeamCity you're running 2) Open up your browser's development mode, go to the Deployments tab and copy the output of the console and paste it here?

I suppose one thing you could try given some of the plugin isn't even running... In the what I'd think unlikely case that the plugin didn't install correctly, perhaps completely uninstall it and then install it again.

mabakay commented 5 years ago

Normally, if the plugin cannot find any builds, you will still see the search bar and the list of your configured environments.

This was most helpful.

On Firefox or any other Chrom-specific browser it works! I get: image

On Edge (which I use most) I suppose script has problem with inserted HTML: image

It is in Polish but it says that html and body tags are doubled.

For now I simply use other browser and my problem is solved :-) image

I'm using TeamCity Professional 2019.1.2 (build 66342)

vyadh commented 5 years ago

Thanks for the follow up. Edge clearly doesn't like the way I'm inserting the plugin code into the page, which perhaps isn't so surprising, though Firefox and Chrome are what I test with so assumed that was okay. I might see if I can do something about this, though I suppose since Edge is a dead end in its current form, might not be worth too much time on it.