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

envinject-lib and envinject-plugin should handle null sensitive variables

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • envinject-plugin
    • None
    • envinject-1.91
      core

      Just a follow-up to JENKINS-23447...

      • AbstractBuild::getSensitiveBuildVariables() may return null from child classes
        • There's no Javadoc in the core to define the correct behavior
        • All calls of AbstractBuild::getSensitiveBuildVariables() in the core process null values

      Currently EnvInject plugin does not handle this case natively. There can be NPE in envinject-lib, hence both projects should be updated

            oleg_nenashev Oleg Nenashev
            oleg_nenashev Oleg Nenashev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: