Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,462,577
Community Members
 
Community Events
176
Community Groups

Multi Project VS Solution - Only publish 1 Project

Edited

Hi,

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?

Thanks

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.

Regards,
Mark C

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events