net-core-multi-stage-dockerfile-with-test-and-code-coverage-in-azure-pipelines/ #19
Replies: 2 comments
-
|
Hello Colin, thanks for the detailed blog. I had a issue that after the report was published, when I went to individual files, it showed error as: File '/app/x_y_z.cs' does not exist (any more). I found out that it was due to WORKDIR in docker was set as Now, in azure pipeline, when the line To get around I had to update my Dockerfile's build stage's WORKDIR as My Docker file looks like: With this change, at both places (in docker and azure host), the source code lies at I feel that this work-around solution could be improved. Would you have any idea? |
Beta Was this translation helpful? Give feedback.
-
|
But if a test failed the image (and layer) is not built and the report is lost. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
net-core-multi-stage-dockerfile-with-test-and-code-coverage-in-azure-pipelines/
All things DevOps and GitHub. Musings about DevOps tooling, culture and philosophy.
https://colinsalmcorner.com/net-core-multi-stage-dockerfile-with-test-and-code-coverage-in-azure-pipelines/
Beta Was this translation helpful? Give feedback.
All reactions