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

How to make a deployment fail when MSBuild is failed

I have a deployment plan which contains about 5 steps, 3rd of which is a MSBuild task. I am trying to make my deployment plan return as a failure when MSBuild is failed but as I see now, even though MSBuild is failed, my deployment plan returns a success without actually deploying anything as the build is failed.

 

 

1 answer

0 votes

Hi @Dayakar Devi,

I have some questions to help me to understand your problem:

  • Is this behavior consistent across all MSBuild tasks you have of is this happening just for a specific one?
  • What is the build result telling about this? Is it showing any error message?
  • Could you search for a message like:
    simple <DATE_TIME> Starting task '<NAME>' of type 'com.atlassian.bamboo.plugin.dotnet:msbuild'
    and then share with us what outputs you see regarding the failure if you see any?
  • Is the MSBuild returning any error if you run it from the terminal?

Suggest an answer

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

Unable to add or edit Bitbucket Cloud repository in Bamboo

On 31 May, a GDPR-related change went live in the Bitbucket Cloud API that resulted in users not being able to create or edit Bitbucket Cloud Linked repositories in Bamboo. This API update removed t...

269 views 2 6
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