I know this must sound fairly routine to most of you. However, for a beginner like me this has turned out to be a rather daunting task.
I've pushed my WebApI project to BitBucket's master branch with the following entries in 'bitbucket-pipelines.yml'.
script: # Modify the comma`nds below to build your repository.
- export PROJECT_NAME=..\..\myProject
#- export TEST_NAME=someTest
- dotnet restore
- dotnet build $PROJECT_NAME
#- dotnet test $someTest
With this the CI always gets triggered, however, it fails with error ->
Build setup 4s
+ export PROJECT_NAME=..\..\someTest
dotnet restore <1s
+ dotnet restore
MSBUILD : error MSB1003: Specify a project or solution file. The current working directory does not contain a project or solution file.
The build fails with the same error even if I specify "export PROJECT_NAME=myProject".
Could someone please point me in the right direction?
The project targets .Net framework 4.6.1.
I didn't put in the .csproj content in here to avoid cluttering. Please ask, if you need; I'll post it,
Thanks very much.
We are excited to announce the open beta program for self-hosted runners. Bitbucket Pipelines Runners is available to everyone. Please try it and let us know your feedback. If you have any issue...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events