rundeck api will return non shell based error (curl -f will not fail) if project does not exist. We need to parse the http_code from curl to detect this. We should also inquire rundeck community to see if a non failure case here is correct.
as a work around we can implemente get-job and use that to validate whether a job was successfully uploaded. This may or may not be preferable to parsing the rest api xml message .
rundeck api will return non shell based error (curl -f will not fail) if project does not exist. We need to parse the http_code from curl to detect this. We should also inquire rundeck community to see if a non failure case here is correct.