hygieia/hygieia-build-jenkins-collector

Hygieia build collector is not fetching the build metrics from Jenkins

Closed this issue · 1 comments

Hi,
am not able to collect the Jenkins build metrics via hygieia build collector

Here is my application.properties file:

Database Name

dbname=hygieiadb

Database HostName - default is localhost

dbhost=127.0.0.1

Database Port - default is 27017

dbport=27017

MongoDB replicaset

dbreplicaset=false
dbhostport=127.0.0.1:27017

Database Username - default is blank

dbusername=

Database Password - default is blank

dbpassword=

Collector schedule (required)

jenkins.cron=0 0/5 * * * *

The page size

jenkins.pageSize=1000

The folder depth - default is 10

jenkins.folderDepth=10

Jenkins server (required) - Can provide multiple

jenkins.servers[0]=http://username:apikey@jenkins_url

If using username/token for API authentication

(required for Cloudbees Jenkins Ops Center) For example,

#jenkins.servers[0]=
#jenkins.servers[1]=

Another option: If using same username/password Jenkins auth,

set username/apiKey to use HTTP Basic Auth (blank=no auth)

jenkins.usernames[0]=
jenkins.apiKeys[0]=

Determines if build console log is collected - defaults to false

jenkins.saveLog=true

Search criteria enabled via properties (max search criteria = 2)

jenkins.searchFields[0]= options.jobName
jenkins.searchFields[1]= niceName

Timeout values

jenkins.connectTimeout=20000
jenkins.readTimeout=20000

Here is my error:

2020-02-10 05:24:31,622 INFO com.capitalone.dashboard.Application - Started Application in 5.896 seconds (JVM running for 6.763)
2020-02-10 05:25:00,001 INFO c.c.d.collector.CollectorTask - Running Collector: Hudson
2020-02-10 05:25:00,388 INFO c.c.d.collector.CollectorTask - -----------------------------------
2020-02-10 05:25:00,388 INFO c.c.d.collector.CollectorTask - http://jenkins_url/
2020-02-10 05:25:00,388 INFO c.c.d.collector.CollectorTask - -----------------------------------
2020-02-10 05:26:28,892 INFO org.mongodb.driver.connection - Closed connection [connectionId{localValue:2, serverValue:1708}] to 127.0.0.1:27017 because it is past its maximum allowed idle time.

please help me to fix this issue.

stale commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.