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 (View Workflow)
    • 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

            oleg_nenashev Oleg Nenashev created issue -
            oleg_nenashev Oleg Nenashev made changes -
            Field Original Value New Value
            Status Open [ 1 ] In Progress [ 3 ]
            oleg_nenashev Oleg Nenashev made changes -
            Link This issue is related to JENKINS-23447 [ JENKINS-23447 ]
            oleg_nenashev Oleg Nenashev made changes -
            Link This issue is related to JENKINS-27342 [ JENKINS-27342 ]
            oleg_nenashev Oleg Nenashev made changes -
            Link This issue is related to JENKINS-23447 [ JENKINS-23447 ]
            aheritier Arnaud Héritier made changes -
            Link This issue is related to JENKINS-27665 [ JENKINS-27665 ]
            oleg_nenashev Oleg Nenashev made changes -
            Status In Progress [ 3 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 161568 ] JNJira + In-Review [ 196801 ]

              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: