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

Dayakar Devi Dec 12, 2018

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
Daniel Santos Atlassian Team Dec 26, 2018

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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Marketplace Apps & Integrations

Webinar alert! An IT Admin's Guide to Securing Collaboration at Scale

Hello, Atlassian Community! My name is Dave Meyer and I'm a Principal Product Manager at Atlassian. I wanted to give this community a heads up about an upcoming Webinar that might be of interest...

167 views 2 7
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