Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Jenkins Squish Integration
1. Automate Test Execution using Jenkins
-Ankit (ankitsharma0087@gmail.com)
Jenkins & Squish
5/12/2016(c) Ankit
2. About Me
Software Test Engineer
Configuration Manager
Build Manager
Tools Expert.
5/12/2016(c) Ankit
3. Agenda
Executing Test suite or cases of squish using
Jenkins from remote machine.
5/12/2016(c) Ankit
4. Procedure
Download the Jenkins Squish Plug-in from
https://wiki.jenkins-
ci.org/display/JENKINS/Plugins
Extract the download and copy the .HPI file to
plugins directory of Jenkins.
Restart the Jenkins service.
5/12/2016(c) Ankit
5. Procedure cont….
Under Manage Jenkins go to configure System to
define the settings for squish.
5/12/2016(c) Ankit
7. Procedure cont….
5/12/2016(c) Ankit
Default Installation path is the squish installation
path on Jenkins Server.
Under advanced configuration provide the path of
squish installations for slave machines with some
key value.
Each line of the text area consists of a simple key
value mapping. To configure a Squish installation
located at C:Squish choose an arbitrary name /
key like squishOnWindowsForQt47 and append
the /squishPath tag to assign the absolute path.
For convenience you can use the node name too
of course.
11. Procedure cont….
5/12/2016(c) Ankit
With the above displayed launch method, after
pressing save button go to slave machine open
Jenkins in browser navigate to node which is to
be connected, click on launch slave agent button.
For Windows slaves please make sure to not start
the slave as Windows Service at Launch method.
Windows Services are intended to run command
line applications but not to run applications which
consist of a GUI. Starting the Jenkins slave as
JNLP via Launch slave agents via Java Web Start
works fine.
13. Procedure cont….
5/12/2016(c) Ankit
Once all the nodes gets connected to master
Jenkins Server.
Its time to create a Build Job to execute the test
suite of squish from the Jenkins Server.
18. Procedure cont….
5/12/2016(c) Ankit
The value for config section in the above slide is
taken from the keys defined in advanced
configuration section in slide number 6.
Provide the IP address of slave machine in Host
where to execute the Test Suite.
Default port is 4322 of squishserver to listen to
the incoming requests.
19. Procedure cont….
5/12/2016(c) Ankit
Execute the build Job created to execute the test
suite from Jenkins server on slave machine
Note :- Make sure that Squishserver on slave
machine is allowed to accept incoming
requests and before execution of Jenkins job it
should be up and running.
21. Procedure cont….
5/12/2016(c) Ankit
However we can also integrate Jenkins with the
mail server for every failure to auto send the mails
to concerned persons.
Jenkins has got rich library of plugins to play.
Keep exploring keep playing keep enjoying.