chronos
chronos copied to clipboard
arguments field of chronos job can't be http url
related to issue #855 , more testing show me that exception is not caused by schedule time field.
below is a minimal job json, which should work but not
{
"name":"start-blabla-job",
"command":"echo",
"arguments":[
"--blabla-flag",
"http://example.com/whatever",
"--another-blabla-flag",
"/another-non-working-argument"
],
"container":{
"type":"DOCKER",
"image":"alpine:3.6"
},
"schedule":"R1/2017-09-20T05:33:50Z/PT12H",
"scheduleTimeZone":"UTC",
"epsilon":"PT12H",
"shell":false
}
you can use issue #855 's schedule time to test. the http response code is as that said. and the error log is as that said. I've tested all json field to figure this out. only the arguments "http://example.com/whatever" cause this exception. and it doesn't make sence.
not only http url, even directory file path can't be.
@gkleiman could you take a look at this when you have a sec?