Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Can pipeline build ignore Post build events in .csproj files?

computingcode
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!
October 10, 2018

I have a csproj files that has post-build cmd comands. These work on my PCs since paths exist and tools are installed. Can I write anything in the pipeline config file to make it  ignore the post-build event? I tried adding validations but htese do not seem to work....if simulated on a local PC it works

1 answer

1 accepted

0 votes
Answer accepted
computingcode
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!
October 10, 2018

Derp..I fixed it myself.....just edit the csproj file. Add to the Exec node like

 <Exec Command="blabla" IgnoreExitCode="true"/>

I'll leave the answer here for anyone

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events