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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Component/s: envinject-plugin
    • Labels:
      None
    • Environment:
      envinject-1.91
      core
    • Similar Issues:

      Description

      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: