github.com/pachyderm/pachyderm@v1.13.4/doc/error_test.json (about) 1 { 2 "pipeline": { 3 "name": "error_test" 4 }, 5 "input": { 6 "pfs": { 7 "glob": "/*", 8 "repo": "input" 9 } 10 }, 11 "transform": { 12 "cmd": [ "bash" ] , 13 "stdin": [ "if", "[ -a /pfs/input/file1 ]", "then cp /pfs/input/* /pfs/out/", "exit 0", "fi", "exit 1" ] , 14 "err_cmd": [ "bash" ] , 15 "err_stdin": [ "if", "[ -a /pfs/input/file2 ]", "then", "exit 0", "fi", " exit 1" ] 16 } 17 } 18