I’m having problem understanding how artifacts work…i read the docs that artifacts should be transferred between stages but i still don’t know how this works.
The issue i’m having is following…i have 2 stages…build and test.
In build stage I’m buildinh .NET code with
dotnet build command.
In test stage i just want to run tests with
dotnet test command and supplying the --no-build option to speed up the job, because there is no need to build the projects again if they have just been built.
But the problem is that on start of the test job, all the binaries get removed and the
dotnet test command is then left without the binaries, meaning no tests were executed.
How do i convince the CI to leave the binaries or at least restore them back to the same location?