We do trigger a jenkins job with curl curl http://jenkins.corp.de:8080/job/CI-Control/buildWithParameters?sw=HGSTR.62-32
this runs fine if the job is enabled. but if we disable the job the return string is very confusing.
How do I check the job state ? And how can I put useful descriptive strings into the return codes ?