rerun-modules / rundeck

Rerun module to manage Rundeck installation, configuration and operations
0 stars 1 forks source link

create-job returns success if rundeck project does not exist #8

Open connaryscott opened 11 years ago

connaryscott commented 11 years ago

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.

connaryscott commented 11 years ago

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 .