How are you running the build? Are you using the msbuild plugin, a batch build step? More information would be needed in order to help. If the command that runs the build returns a 0 as the return code, Jenkins will normally treat this as a successful build.
On Thu, May 31, 2012 at 1:13 PM, Steve Berg <steven.b...@verizon.com> wrote: > I am charged with piloting Jenkins for our development team. I wrote a > Hello-World type C# app for initial testing. It contains a Build error, but > Jenkins reports a successful build. Any clues? (Build error is a missing > semi-colon after "Second box". Jenkins is reading the code file from > Subversion.) > > namespace TestingJenkins > { > public partial class MainForm : Form > { > public MainForm() > { > InitializeComponent(); > } > private void btn_Exit_Click(object sender, EventArgs e) > { > MessageBox.Show("First box"); > MessageBox.Show("Second box") > if (MessageBox.Show("Are you sure you want to exit the > program?", > "Verify Exit", MessageBoxButtons.OKCancel) == > DialogResult.OK) > { > if (MessageBox.Show("Really?", > "Second Check", MessageBoxButtons.OKCancel) == > DialogResult.OK) > { > this.Close(); > } > else > { > MessageBox.Show("Not exiting - B"); > } > } > else > { > MessageBox.Show("Not exiting - A"); > } > } > } > } -- Website: http://earl-of-code.com