hygieia / hygieia

CapitalOne DevOps Dashboard
http://hygieia.github.io/hygieia
Apache License 2.0
3.79k stars 1.79k forks source link

Hygieia Jenkins Plugin is not holding the commits in build stage and Environment Stages #2832

Closed harish123321 closed 5 years ago

harish123321 commented 5 years ago

I have a Jenkins Job which will trigger for every commit in GitHub. I am using Hygieia Jenkins Plugin to publish all data. I can able to get all data in team dashboard but I am not getting any commit data in build stage and no data is displayed in environments stages of product dashboard.

If I run Jenkins Collector I am getting commits in build stage but not showing the metrics.

[

Capture

](url)

Can anyone help me out.

user20170 commented 5 years ago

Can someone explain what data the environment columns use to correlate with commit and build column's data?

I believe here is the scenario many people would tend to use

Outcome: The commit and Build columns in product dashboard display fine. However the environment columns show empty. What is needed to build the correlation between deployment data and commit/build data? I believe that goes missing in the above scenario for some reason, and hence the environment columns show empty. Or maybe my understanding is incorrect, and I should rather simply ask how to make it work?

Any pointers to the code would be appreciated, and will help us hone in better.

I believe this issue is similar to https://github.com/Hygieia/Hygieia/issues/2836

Sbrenthughes commented 5 years ago

Can you paste the hygieiaDeployPublishStep you are using? And the Artifact publish step? The hygieiaDeployPublishStep used in the deploy job should have the same name and artifact version as the hygieiaArtifactPublishStep of the build job.

IATVirtusa commented 5 years ago

Here i am pasting my product dashboard view as well as jenkins artifact and publisher step.

Screenshot (28) Screenshot (29)

Sbrenthughes commented 5 years ago

Are you using the auto publish functionality? If so these steps will only work when using a Jenkinsfile.

rvema commented 5 years ago

@IATVirtusa Can you confirm if you have implemented the above recommendations ?

gopiprasanthpotipireddy commented 5 years ago

@Sbrenthughes @rvema now its working fine using Jenkinsfile.

rvema commented 5 years ago

closing the issue since it was resolved