RESOLVED - issue BATCH-181: When trying to re-run a Job that already executed successfully the JobExecutorFacade returns ExitStatus.FAILED
http://opensource.atlassian.com/projects/spring/browse/BATCH-181
This commit is contained in:
@@ -101,9 +101,9 @@ public class DefaultJobExecutor implements JobExecutor {
|
||||
|
||||
if (startedCount==0) {
|
||||
if (stepConfigurations.size()>0) {
|
||||
status = ExitStatus.FINISHED.addExitDescription("All steps already completed. No processing was done.");
|
||||
status = ExitStatus.NOOP.addExitDescription("All steps already completed. No processing was done.");
|
||||
} else {
|
||||
status = ExitStatus.FINISHED.addExitDescription("No steps configured for this job.");
|
||||
status = ExitStatus.NOOP.addExitDescription("No steps configured for this job.");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user