Custom tags are not published after upgrade of plugin Influx DB 2.0

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor
    • Component/s: influxdb-plugin
    • None
    • Environment:
      influxdb = 2.0
      Jenkins = 2.190
    • 2.0.1

      After upgrading from 1.23 to latest 2.0 version of Influx DB the custom tags I was setting usingĀ jenkinsEnvParameterTag are being ignored and no longer being published.

      I am using the pipeline like below:

      influxDbPublisher([
        selectedTarget: 'influxdb_maint',
        customPrefix: '',
        customProjectName: '_',
        replaceDashWithUnderscore: true,
        jenkinsEnvParameterTag: "key1=value1\nkey2=value2\nkey3=value3"
      ])
      

      This works on 1.23 but not in 2.0.

      I have downgraded the plugin in order to work again.

      I am not sure why it's happening, but I know some refactoring's were done in the code that parsesĀ jenkinsEnvParameterTag.

      Ā 

            Assignee:
            Aleksi Simell
            Reporter:
            Michel Zanini
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: