1. Download JDK and Add the path : %JAVA_HOME%/bin;%JAVA_HOME%/jre/bin;
2. Download Jenkins and install
3.Go to http://localhost:8080 , jenkins main website.
4. Go to New Job and create job name and choose first one: Build a free style software project . Then click OK.
5.Click build and execute windows batch command.
Add the command (the same as when you run .exe in cmd.):
cd PATH
UnitTestApp.exe
5.Now we need to set email notification.
1. Click Jenkins -> Manage Jenkins -> Configure system.
2. @ this time, test configuration will be failed.Because the password is not normal email password.
So we go to Google account->security ->2 -step verification
3. Click the Manage application-specific password.and Google generate a new password for your account for app.
.
4.Verify successful.
5 Go to .Click post-build Action and add the receiver to send result when build finish