task_result.go 429 B

123456789101112131415
  1. package executor
  2. type Result struct {
  3. Success bool `json:"success"`
  4. Stdout []string `json:"stdout"`
  5. Stderr []string `json:"stderr"`
  6. }
  7. type TaskResult struct {
  8. Success bool `json:"success"`
  9. Template bool `json:"template"`
  10. Preprocessors map[string]*Result `json:"preprocessors"`
  11. Build Result `json:"build"`
  12. Push Result `json:"push"`
  13. }