diff --git a/docs/modules/ROOT/pages/batch.adoc b/docs/modules/ROOT/pages/batch.adoc index 0347d7534..7c0474e65 100644 --- a/docs/modules/ROOT/pages/batch.adoc +++ b/docs/modules/ROOT/pages/batch.adoc @@ -205,7 +205,7 @@ Batch/Boot behavior. Keep in mind that a task is a boot application and that the returned from the task is the same as a boot application. To override this behavior and allow the task to return an exit code other than zero when a batch job returns an -https://docs.spring.io/spring-batch/4.0.x/reference/html/step.html#batchStatusVsExitStatus[BatchStatus] +https://docs.spring.io/spring-batch/current/reference/html/step.html#batchStatusVsExitStatus[BatchStatus] of `FAILED`, set `spring.cloud.task.batch.fail-on-job-failure` to `true`. Then the exit code can be 1 (the default) or be based on the https://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-spring-application.html#boot-features-application-exit[specified