Skip to content

Documentation for --exit-code wrong #415

Open
@mstahl

Description

@mstahl

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions