Class Helper

java.lang.Object
com.cloudbees.jenkins.support.util.Helper

@Deprecated public final class Helper extends Object
Deprecated.
Simple helper so we don't have to check Jenkins.getInstance() != null everywhere. TODO: replace with Jenkins.getActiveInstance() when on core >= 1.609
  • Method Details

    • getActiveInstance

      @NonNull public static Jenkins getActiveInstance()
      Deprecated.