Closed sverhoeven closed 1 year ago
Fixes #44
Also adds GET /api/job/{jobid}/stderr route.
GET /api/job/{jobid}/stderr
To test
GET /api/job/{jobid}/files/{path}
/tmp/jobs/1/returncode
GET /api/job/{jobid}/stdout
/tmp/jobs/1/stdout.txt
/tmp/jobs/1/stderr.txt
mkdir /tmp/jobs/1/output && echo foo > /tmp/jobs/1/output/somefile.txt
GET /api/job/{jobid}/files/output/somefile.txt
foo
Thanks for reviewing
Fixes #44
Also adds
GET /api/job/{jobid}/stderr
route.To test
GET /api/job/{jobid}/files/{path}
route/tmp/jobs/1/returncode
file on filesystem.GET /api/job/{jobid}/stdout
route/tmp/jobs/1/stdout.txt
file on filesystem.GET /api/job/{jobid}/stderr
route/tmp/jobs/1/stderr.txt
file on filesystem.mkdir /tmp/jobs/1/output && echo foo > /tmp/jobs/1/output/somefile.txt
GET /api/job/{jobid}/files/output/somefile.txt
foo
as content