github.com/smithx10/nomad@v0.9.1-rc1/e2e/taskevents/input/failed_batch.nomad (about)

     1  job "failed_batch" {
     2    type         = "batch"
     3    datacenters  = ["dc1"]
     4  
     5    group "failed_batch" {
     6      restart {
     7        attempts = 0
     8      }
     9    
    10      task "failed_batch" {
    11        driver = "raw_exec"
    12        config {
    13          command = "SomeInvalidCommand"
    14        }
    15      }
    16    }
    17  }