How to make a deployment fail when MSBuild is failed

Dayakar Devi
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 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
Atlassian Team members are employees working across the company in a wide variety of roles.
December 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
TAGS
AUG Leaders

Atlassian Community Events