0

I have an image that runs the Postman Newman tests collection with an HTML reporter. There is also a pipeline created in Azure DevOps.

Everything used to work fine, but recently the pipeline stopped running docker-compose up, although no changes have been made. Locally, everything continues to work.

Here is my Docker file:

FROM postman/newman:alpine

RUN npm install -g newman-reporter-htmlextra
RUN apk add --update gettext
RUN apk add --update jq

WORKDIR /etc/newman
COPY path/run.sh .
RUN chmod +x run.sh

ENTRYPOINT [ "sh", "path/run.sh" ]

Pipeline crashes with the following message:

ENOENT: no such file or directory, open 'path/run.sh'

Still, the strangest thing for me is that everything used to work, but no changes were made to these files, and now I get an error. Maybe something was updated in Azure itself, but I didn't find any information about it?

  • My *.sh file ending with LF
1

1 Answer 1

3

The problem was with the Azure Pipelines YAML file. I also have a docker-compose.override.yml and adding the additionalDockerComposeFiles parameter with the path to that file solved the problem.

The fact that everything worked before, I think is related to changes in Azure DevOps, although I did not find any detailed information about this.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.