Table of Contents |
---|
Qualitia supports Jenkins, an open source automation server written in Java. It is a cross-platform, continuous integration, and continuous delivery application that increases your productivity.
...
Expand | ||
---|---|---|
| ||
|
...
Launch Jenkins (http://localhost:8080).
Enter the Administrator password.
Take the Administrator password from the initialAdminPassword file located in the .jenkins\secrets folder.Click Continue.
Jenkins asks to install plugins. Skip to install plugins for now clicking the X icon from the top right corner of the window and click Start using Jenkins button.
Go to Jenkins > Manage Jenkins > Manage Plugins.
Access the Available tab.
A list of available plugins is displayed to select and install.Select HTML Publisher, Email Extension, Environment File, and Environment Injector plugins.
Select Subversion plugin, if your test execution XML exists in subversion server.
Click Install without Restart.
Post successful installation; go to the Jenkins' dashboard.Click New Item.
Enter the item name, select Freestyle project, and then click OK.
You are navigated to new job configuration page.In the Build section, click Add build step and then select Execute windows batch command.
In the Command text box, enter the command to execute qualitia-offline.xxxx.jar.
For example: If your offline package is stored in the D > OfflinePackage, enter the command to navigate to the D drive and then command to execute the offline package.Code Block language cpp d: cd "D:\OfflinePackage" java -jar qualitia-offline.xxxx.jar
Code Block Click Add Build Step and select Inject environment variables.
Note: This step has to be followed by step 12; otherwise Qualitia Reports will not be visible through Jenkins.Update Properties File Path for the file qer.properties along with the file name.
This file is located in the Offline Package. For example: <Offline Package location>\qer.properties.
Note: The qer.properties file is generated after running the first Jenkins job only.In the Post-build Actions section, click the Add Post build action button and select Publish HTML reports.
In the Publish HTML reports section, enter the values as mentioned below:
HTML directory to archive: $qualitiareportpath
Index page[s]: $reportfilename
Report title: Qualitia Report
Select the Keep past HTML reports check box.
Click Save.
On the top left corner of the screen, click Jenkins > Manage Jenkins > Configure System.
In the E-mail Notification section, click the Advanced button and fill up the information that includes;
...