Skip to content
Snippets Groups Projects
Commit 3ed49407 authored by Jens Steidl's avatar Jens Steidl :baby_chick:
Browse files

- added exit code based on validation result

parent ac696a63
No related branches found
No related tags found
No related merge requests found
......@@ -437,5 +437,12 @@ public class XmlFormatValidationPlugin implements FormatValidationPlugin {
System.out.println("getProfile:");
System.out.println( plugin.getProfile());
System.out.println("----------------------------------");
// exit code
if (plugin.isValid()) {
System.exit(0);
} else {
System.exit(1);
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment