【发布时间】:2020-07-08 08:44:31
【问题描述】:
.yml 文件:
image: microsoft/dotnet:sdk
pipelines:
default:
- step:
caches:
- dotnetcore
script: # Modify the comma`nds below to build your repository.
- export SOLUTION_NAME=SSU.IS.Services
- export PROJECT_NAME=SSU.IS.Identity
- export TEST_NAME=SSU.IS.Module.StaffRecords.Test
- dotnet restore $SOLUTION_NAME
- dotnet build $PROJECT_NAME
- dotnet test #$TEST_NAME
bitbucket-pipeline.yml 位于根目录中,有一个名为 SSU.IS.Services 的文件夹,其中包含 .sln 以及其他包含项目的文件夹。
还原没有问题,但是构建步骤出错。
我尝试将其留空,指定项目名称,给出我认为是项目的相对路径 - 一切都无济于事。
.csproj 的路径
identity-management-mvc/SSU.IS.Services/Sites/Identity/SSU.IS.Identity/SSU.IS.Identity.csproj
【问题讨论】:
标签: .net-core continuous-integration bitbucket bitbucket-pipelines