Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Multi Project VS Solution - Only publish 1 Project



I am new to Pipelines and CI/CD so apologies for not knowing this.

I have a multi project Visual Studio c#.Net Core solution in a bitbucket repository.

I want to just publish the API project to an Azure Web Application.

I have used the standard template and it's building and publishing but I suspect it's publishing the complete solution and not just the API project.

I want to be able to configure the system so a i can push different projects to different azure application,

Is this possible? Can anyone help me please?


1 answer

0 votes
Mark C Atlassian Team Sep 14, 2021

Hi @Trevor Daniel

Thank you for reaching out to the community.

Based on your description, my understanding is that you're deploying your build folder on Pipelines (or from the default directory BITBUCKET_CLONE_DIR).

If this is true and as you've mentioned you have multiple projects in your single repository, the best I can suggest is for you to create a folder every time you'll deploy to your preferred Azure application.

For instance, if you want to deploy your API project, you can do something like these:

- mkdir -p $BITBUCKET_CLONE_DIR/api_release
- #do your test/build command into that new folder
- #use that new folder to deploy to your Azure project

You can use the same pattern in multi-steps or custom steps when you want to deploy your other projects.

Hope it helps and let me know if you have further questions.

Mark C

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

239 views 2 5
Read article

Community Events

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

Events near you