The following plugin provides functionality available through Pipeline-compatible steps. Read more about how to integrate steps into your Pipeline in the Steps section of the Pipeline Syntax page.

For a list of other such plugins, see the Pipeline Steps Reference page.

InfluxDB Plugin

influxDbPublisher: Publish build data to InfluxDB.

  • selectedTarget
    InfluxDB target to send data to. Targets have to be configured in the global Jenkins settings.
    • Type: String
  • customData (optional)
      java.lang.Object>
  • customDataMap (optional)
      java.lang.Object>>
  • customDataMapTags (optional)
      java.lang.String>>
  • customDataTags (optional)
      java.lang.String>
  • customPrefix (optional)
    A custom prefix that gets prepended to the job name, for example to prevent several 'master' metrics for different jobs in multi branch pipeline jobs.
    • Type: String
  • customProjectName (optional)
    Sets a custom value for the InfluxDB 'project_name' tag key, that overrides the default, which is the job name.

    Useful to easily group metrics for different jobs in multi branch pipeline jobs.

    • Type: String
  • jenkinsEnvParameterField (optional)
    Custom field set that will be added to the default measurement 'jenkins_data', configured as key-value pairs (one per line, in Java Properties file format).

    Current build parameters and/or environment variables can be used in the form of ${PARAM}

    • KEY=${PARAM}
    • KEY=PREFIX_${PARAM}_SUFFIX
    • KEY=VALUE
    • Type: String
  • jenkinsEnvParameterTag (optional)
    Custom tag set that will be added to the default measurement 'jenkins_data', configured as key-value pairs (one per line, in Java Properties file format).

    Current build parameters and/or environment variables can be used in the form of ${PARAM}

    • KEY=${PARAM}
    • KEY=PREFIX_${PARAM}_SUFFIX
    • KEY=VALUE
    • Type: String
  • measurementName (optional)
    • Type: String
  • replaceDashWithUnderscore (optional)
    Choose whether to change dashes (-) to underscores (_) in tag values.

    i.e. "my-custom-tag" → "my_custom_tag".

    • Type: boolean

Was this page helpful?

Please submit your feedback about this page through this quick form.

Alternatively, if you don't wish to complete the quick form, you can simply indicate if you found this page helpful?

    


See existing feedback here.