Class ManifestValidator

java.lang.Object
hudson.plugins.repo.ManifestValidator

public final class ManifestValidator extends Object
to validate manifest xml file and abort when remote references a local path.
  • Method Details

    • validate

      public static void validate(byte[] manifestText, String manifestRepositoryUrl) throws IOException
      to validate manifest xml file and abort when remote references a local path.
      Parameters:
      manifestText - byte representation of manifest file
      manifestRepositoryUrl - url
      Throws:
      IOException - when remote references a local path.