Process process = new Process();
//Path wherein Java is installed in your machine
process.StartInfo.FileName = "java.exe";
//.jar file to be executed
process.StartInfo.Arguments = @"-jar Sample.jar";
process.StartInfo.UseShellExecute = false;
process.StartInfo.RedirectStandardOutput = true;
process.StartInfo.RedirectStandardError = true;
//Get the output from stream
//in case of no error ExitCode will be zero
//In case of error , get error description
string error = process.StandardError.ReadToEnd();
Over the past few years of working on multiple critical systems solution design initiatives, there is one important thing I have learnt. &q...
Note : In below scenario jenkins was deployed in Linux container Scenario: Jenkins build failed with error. java.io.IOException: error...
Ever wanted to have a people picker kind of control in Infopath form and that too in browser mode. Did i heard yes :) , well there is a Acti...
Maven tool is not set in Jenkins pipeline Scenario Error when building the Jenkins pipeline (Pipeline project style) Error snippet: ...