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

Issue in pushing Jenkins build data to influxdb

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • influxdb-plugin
    • None
    • 3.3

      We are not able to get any Pipeline data

      Influxdb plugin in the Jenkins is not collecting and pushing any data to influxdb.

      We are pushing the data using Post-build Actions in Freestyle project

      Note : influxdb version is 2.2

          [JENKINS-68530] Issue in pushing Jenkins build data to influxdb

          Aleksi Simell added a comment -

          What do you mean with pipeline data when you're using freestyle jobs?

          Aleksi Simell added a comment - What do you mean with pipeline data when you're using freestyle jobs?

          Adithya K added a comment -

          I tryed with both freestyle and multibranch pipeline but I coudlnt get any job data

          Adithya K added a comment - I tryed with both freestyle and multibranch pipeline but I coudlnt get any job data

          Aleksi Simell added a comment -

          I'm able to send data normally to InfluxDB 2.2 from pipelines and freestyle jobs. How are you calling the plugin from the pipeline? How have you configured the target? Does your user have write access to the bucket you're trying to write to?

          Aleksi Simell added a comment - I'm able to send data normally to InfluxDB 2.2 from pipelines and freestyle jobs. How are you calling the plugin from the pipeline? How have you configured the target? Does your user have write access to the bucket you're trying to write to?

          Adithya K added a comment -

          I'm also usign the same version but couldnt send job data to influxdb

           

          Jenkins configuration page

           

           

          Influxdb configuration page

          Adithya K added a comment - I'm also usign the same version but couldnt send job data to influxdb   Jenkins configuration page     Influxdb configuration page

          Aleksi Simell added a comment -

          The only difference I saw to my configuration is that you have used the "use Jenkins proxy" option. I noticed that when I changed the Java dependency of influxdb-java to influxdb-client-java I no longer call the proxy method in plugin. I now fixed that, but I should setup a local proxy to test that it actually works before making the release.

          Aleksi Simell added a comment - The only difference I saw to my configuration is that you have used the "use Jenkins proxy" option. I noticed that when I changed the Java dependency of influxdb-java to influxdb-client-java I no longer call the proxy method in plugin. I now fixed that, but I should setup a local proxy to test that it actually works before making the release.

          Aleksi Simell added a comment -

          Pull request created to solve this issue.

          Aleksi Simell added a comment - Pull request created to solve this issue.

          Aleksi Simell added a comment -

          PR merged. Fix will be available in next release.

          Aleksi Simell added a comment - PR merged. Fix will be available in next release.

          Aleksi Simell added a comment -

          InfluxDB plugin 3.3 released. This release should fix this issue.

          Aleksi Simell added a comment - InfluxDB plugin 3.3 released. This release should fix this issue.

            aleksisimell Aleksi Simell
            akanna2x Adithya K
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: