Use new CursorBasedChunk method signature.

2 jobs for two-pass in 12 minutes and 39 seconds (queued for 3 seconds)
Name Stage Failure
verify:jdk8 Test
	... 20 more
518823 [ERROR]
518823 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
518823 [ERROR]
518823 [ERROR] For more information about the errors and possible solutions, please read the following articles:
518823 [ERROR] [Help 1]
Running after_script
Uploading artifacts for failed job
ERROR: Job failed: command terminated with exit code 1