jenkinsci / github-autostatus-plugin

Jenkins plugin to provide automatic status for multibranch jobs
https://plugins.jenkins.io/github-autostatus/
MIT License
53 stars 34 forks source link

Option to ignore sending test data to influx #48

Closed bartuart closed 5 years ago

bartuart commented 5 years ago

By default plugin sending to influx metrics from stages as well test reports and coverage. However, sometimes there are no needs to send test results to influx. At the same time, amount of tests could become so huge, that pipeline waiting ~ 20-30 minutes for sending test data to influx. It could raise additional delaying, especially when there are more than 20 builds per day.

To solve mentioned problems, I have added just additional flag (checkbox) allows to ignore sending test results to influx DB. By default checkbox is not checked, so plugin works without any changes. Checking this flag will allow to skip sending test results to influx DB.

jeffpearce commented 5 years ago

Hi @bartuart. Thanks for this much needed change! I apologize for taking so long to merge it, but I've had low bandwidth lately, and I was working on a pretty large release of this plugin. Since there were so many merge conflicts, it was actually easier to manually apply the changes in a new commit (c06ae837903fd9fd889c9881bebd1641c5b7fb34). I retained your author information in that that commit.