blob: ca89b0c41a91106723cfc3fb7ab26665e4a62aa5 [file] [log] [blame]
if ( !( basedir instanceof File ) )
{
println "Global script variable not defined: basedir or not a File"
throw new RuntimeException("Global script variable not defined: basedir or not a File");
}
assert (new File( basedir, "verify.groovy" ).exists())
if ( !( context instanceof Map ) )
{
println "Global script variable not defined: context or not a Map"
throw new RuntimeException("Global script variable not defined: context or not a Map");
}
System.out.println("foo="+context.get("foo"));
return true