Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-66276

Git information is not fetching through logstash and statistic gatherer plugin

      My requirement is to send jenkins pipeline build info to elasticsearch. But using logstash or statistics gatherer plugin is NOT fetching 'git' data (scm info) if it is coming through global library (shared library).

      Since I can find it on build page and even on "job_name/builds/build_no/api/json"

      Even if I can see git checkout info on build page but it is NOT captured by ligstash or statistics gathere plugin

          [JENKINS-66276] Git information is not fetching through logstash and statistic gatherer plugin

          Mahesh created issue -
          Mahesh made changes -
          Description Original: My requirement is to send jenkins build data to elasticsearch. But using logstash or statistics gatherer plugin is NOT fetching 'git' data if it coming through global library (shared library).Which can find it on build page and on "job_name/builds/build_no/api/json"

          Even if I can see git checkout info on build page but it is NOT captured by ligstash or statistics gathere plugin
          New: My requirement is to send jenkins build info to elasticsearch. But using logstash or statistics gatherer plugin is NOT fetching 'git' data if it is coming through global library (shared library).

          Since I can find it on build page and even on "job_name/builds/build_no/api/json"

          Even if I can see git checkout info on build page but it is NOT captured by ligstash or statistics gathere plugin

          PRs are welcome

          Jakub Bochenski added a comment - PRs are welcome
          Jakub Bochenski made changes -
          Assignee Original: Jakub Bochenski [ jbochenski ]
          Issue Type Original: Bug [ 1 ] New: New Feature [ 2 ]
          Mahesh made changes -
          Description Original: My requirement is to send jenkins build info to elasticsearch. But using logstash or statistics gatherer plugin is NOT fetching 'git' data if it is coming through global library (shared library).

          Since I can find it on build page and even on "job_name/builds/build_no/api/json"

          Even if I can see git checkout info on build page but it is NOT captured by ligstash or statistics gathere plugin
          New: My requirement is to send jenkins pipeline build info to elasticsearch. But using logstash or statistics gatherer plugin is NOT fetching 'git' data (scm info) if it is coming through global library (shared library).

          Since I can find it on build page and even on "job_name/builds/build_no/api/json"

          Even if I can see git checkout info on build page but it is NOT captured by ligstash or statistics gathere plugin

          If you want an example of adding more data check https://github.com/jenkinsci/logstash-plugin/pull/99/files

          Jakub Bochenski added a comment - If you want an example of adding more data check https://github.com/jenkinsci/logstash-plugin/pull/99/files

            Unassigned Unassigned
            mwaikar Mahesh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: