Merge pull request #466 from reasonerjt/job-service

add retry as a status of a job
This commit is contained in:
Daniel Jiang 2016-07-03 17:09:43 +08:00 committed by GitHub
commit 42b3549d9d

View File

@ -35,6 +35,8 @@ const (
JobFinished string = "finished"
//JobCanceled ...
JobCanceled string = "canceled"
//JobRetrying indicate the job needs to be retried, it will be scheduled to the end of job queue by statemachine after an interval.
JobRetrying string = "retrying"
//JobContinue is the status returned by statehandler to tell statemachine to move to next possible state based on trasition table.
JobContinue string = "_continue"
//RepOpTransfer represents the operation of a job to transfer repository to a remote registry/harbor instance.