Skip to content

Fetching the test reporter and calling before-build is failing again  #416

Open
@sprasad09

Description

@sprasad09

Hi Folks,

We are experiencing this issue again. This issue was originally posted here:
Originally posted by @efueger in #396 (comment)

We have a dockerfile (actually over 100) with these lines

# Fetch code climate binary
RUN curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
RUN chmod +x ./cc-test-reporter
# Notify code climate a build is starting
RUN ./cc-test-reporter before-build
RUN npm run lint && npm run test-coverage

I'm all of a sudden getting this error when trying to deploy my app.

Step 18/35 : RUN ./cc-test-reporter before-build
---> Running in 7c747687630e
./cc-test-reporter: line 1: can't open html: no such file
./cc-test-reporter: line 2: syntax error: unexpected redirection
The command '/bin/sh -c ./cc-test-reporter before-build' returned a non-zero code: 2
make: *** [build] Error 2

Could you please look into this again. This is blocker for devs right now.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions