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,367,534
Community Members
 
Community Events
168
Community Groups

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
TAGS

Atlassian Community Events