Open
Description
The documentation here is incorrect, says to use this command in a codeship-steps file:
- name: codeclimate_post service: YOURSERVICE command: cc-test-reporter after-build --exit-code $?
This doesn't work, as the $?
variable isn't found (I suspect but I'm not sure this is because each command in the file gets run in its very own bash session). Outputs Error: invalid argument "$?" for --exit-code: strconv.ParseInt: parsing "$?": invalid syntax
with a usage message.
As far as I can tell this works without the --exit-code
argument anyway, though admittedly I haven't gotten code coverage reporting working yet.