Automated installers testing

63 views
Skip to first unread message

Pulkit Lall

unread,
Aug 19, 2015, 4:43:15 AM8/19/15
to Jenkins Users
Hi All,
I have a scenario where I think Jenkins could help me a lot if its possible.... I did my best to explain the scenario but if there are still any questions, I will be glad to answer them.

I have multiple jobs in Jenkins which are compiling code, creating installers (Windows and Linux), creating artifacts for both Windows and Linux platforms.

Now, after the builds are complete, I have to manually install them to verify if the installer is proper and that the options like "Complete", "Custom" installations are working properly, all files are present or not.

This takes a lot of time to do for all the installers for both OS.

Is there a way in Jenkins where I could run a job which will copy the installers, install in the appropriate slave, check for the number of files or something like that which will verify from sort of benchmark, try out different types of installations like "Complete", "Custom", "Repair" and also check for "Uninstallation" part.

Any help on this would be appreciated.  

Richard Bywater

unread,
Aug 19, 2015, 4:50:04 AM8/19/15
to Jenkins Users

Basically if you can code / script it then Jenkins can do it. I'd start by getting a scripted thing up and running and then you can have Jenkins call that script when things change etc.

Richard.


--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/03fd35e6-e230-46a6-9590-9a9333ae37fc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Pulkit Lall

unread,
Aug 19, 2015, 5:45:28 AM8/19/15
to Jenkins Users
Thank you Richard for the reply.

Will try it but was thinking if this feature is already available in Jenkins then I would not have to write the script.

Also, I want to display the result in Jenkins i.e. similar to chart type where it will show that for custom install - passed, typical install - passed, uninstall - failed, files differ in folder, etc.

Any thoughts on this?

Pulkit Lall

unread,
Aug 28, 2015, 5:24:01 AM8/28/15
to Jenkins Users
Richard,
If I have written script as you mentioned, then is there a way I can check if installation done is proper or not through Jenkins? 


On Wednesday, 19 August 2015 14:20:04 UTC+5:30, Richard Bywater wrote:

Mark Waite

unread,
Aug 28, 2015, 8:55:53 AM8/28/15
to jenkins...@googlegroups.com
If you can write your tests as a script, and if you can output the results of the tests in JUnit format, then the test results are easily displayed in Jenkins.

There are many different tools and languages which can write JUnit format output, like:

- Ant JUnit task (Java)
- Maven surefire plugin
- Python py.test
- Javascript Node.js NodeUnit
- Ruby CI::Reporter

If you write your test in one of those, Jenkins jobs can read the JUnit xml output and show nice summaries and histories.

Mark Waite


Pulkit Lall

unread,
Aug 30, 2015, 11:56:42 PM8/30/15
to Jenkins Users
Mark,
Thanks for providing your valuable feedback.

Are there any links available which shows example of what you mentioned?

Mark Waite

unread,
Aug 31, 2015, 12:09:47 AM8/31/15
to Jenkins Users
I think it is fair to expect you to use a search engine to find those answers.  There are plenty of examples of those tools and languages recorded in search engines.  I searched for "Ant JUnit task" and found immediate hits.  Same for "Python py.test".

Mark Waite

Pulkit Lall

unread,
Aug 31, 2015, 3:01:35 AM8/31/15
to Jenkins Users
Thanks Mark
Reply all
Reply to author
Forward
0 new messages