Uploaded image for project: 'Aurora'
  1. Aurora
  2. AURORA-803

Return valid JSON structure as "job status" result with "--write-json"

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.6.0
    • Client
    • None
    • Aurora Q4 Sprint 1

    Description

      Users writing scripts that use the "job status" command would prefer that when a job isn't running, that fact be expressed through a valid JSON response rather than an exit code.
      So, for example, right now, if you run "aurora job status devcluster/mchucarroll/test/foobar", you'll get back an error message on standard error with exit code 6.
      Script users would prefer a response like:

      {"job": "devcluster/mchucarroll/test/foobar", "error": "No running jobs found"}

      Attachments

        Activity

          People

            mchucarroll Mark Chu-Carroll
            mchucarroll Mark Chu-Carroll
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: