whitesource/whitesource-bamboo-agent — pull request #8 by sopel (2012-11-26 02:07:19+00:00)
Title: Added organizational policy check.

This pull request implements the organizational policy check similar to other agents, i.e. the 'Check Policies' option causes the build to fail if the `checkPolicies()` API yields rejections.

NOTE: The publishing of an artifact with the generated `PolicyCheckReport` has been prepared as well, however, the actual generation currently fails due to an apparent classpath conflict with different Velocity version and had to be disabled therefore (see [line 179](https://github.com/sopel/whitesource-bamboo-agent/blob/ce11a0a5c0e995e4e168fd9f2857f5f1c91a581d/src/main/java/org/whitesource/bamboo/plugins/AgentTask.java#L179)). I'll add a separate issue to allow for this pull request to be merged regardless (the rejection handling as such is unaffected after all).

NOTE: This pull request incorporates #7.