in src/lambda.d/nexuspreconfigure/createBlobstore.groovy [22:29]
def validateBlobstore(Blobstore blobstore) {
if (blobstore.name == null)
throw new IllegalArgumentException("The name of blobstore is required.")
if (blobstore.type == null)
throw new IllegalArgumentException("The type of blobstore is required.")
if (blobstore.type == "s3" && (blobstore.config == null || !blobstore.config.containsKey('bucket')))
throw new IllegalArgumentException("The bucket config of s3 blobstore is required.")
}