...
- Navigate to URL:http://localhost:8080.
This launches Jenkins homepage. - Go to Jenkins > Manage Jenkins > Manage Plugins.
- Install HTML Publisher Plugin, Email-Ext Plugin, and EnvInject Plugin.
- On Jenkins home page, go to New Job.
- Enter the job name as per user understanding.
- Select the Build a free-style software project option.
- Click OK.
The user will be directed to New Job configuration page. - Scroll down to Buildsection and select the first option.
- Click the Add Build Step button and select Execute Windows batch command.
The below screen appears. - Update the commands that lead to the location and execution of QualitiaOffline.exe.
For example: <drive name where offline package is saved>:\cd <location where the offline package is saved>\Offline package QualitiaOffline.exe. - From Add Build Stepbutton, selectInject Environment Variables.
This step has to be followed by step 10, otherwise Qualitia Reports will not be visible through Jenkins. - Update the path for the file qer.properties along with the filename.
This file is generated and saved where offline package is saved during execution of the test cases. For example; <Offline Package location>\qer.properties - Go to Post-build Actionssection.
- Click Add Post-build actionand select Publish HTML Report.
- Update the values under respective columns as shown below.
- Select Jenkins > Manage Jenkins > Configure System.
- Scroll down to the Email Notificationsection.
- Click the Advancedtab.
- Enter valid values for the respective fields.
Below is the screenshot for example. - Select the Test Configuration by sending test e-mail check boxand enter the valid email address.
- Click Test Configurationbutton.
You would be notified on the successful execution of step 21. - If there is any error message, recheck the setting values.
- To enable this email notification for a Project/Job, navigate to Project Configuration.
- Scroll down to Post Build Actionssection.
- Click Add post-build action and select Email Notification.
- Provide recipient details.
- Click Save.
...