buildAndFail

Executes a build, expecting it to complete with failure.

Return

the build result

Since

2.6

Throws

if the configuration of this runner is invalid (e.g. project directory not set)