who sets up smoke tests in jenkins

Solutions on MaxInterview for who sets up smoke tests in jenkins by the best coders in the world

showing results for - "who sets up smoke tests in jenkins"
Camilla
01 May 2018
1Our jenkins job is configured to get my automated tests from GitHub and 
2run every day using Maven.
31- In configuration, first I created a new job and gave name "smoke tests".
42- Then I selected option git in the Source Code Management section and 
5entered the path to my framework on GitHub. And, also entered the git 
6credentials.
73- Next configuration is about build triggers where I chose option Build 
8periodically and enter the time how often I want to run my tests.
94- In the Build section, I choose option invoke top level maven command 
10since my automation framework is created using maven.
115- In the section I enter the maven command (without the mvn part).
126- So, its normal command to run my test using terminal is 'mvn test', 
13in jenkins I only enter 'test'.
147- Here I also enter the tag I want to run using command line.
15test -Dcucumber.options="--tags @smoke"
168- if I want to run regression tests, command is:
17test -Dcucumber.options="--tags @regression"
189- In the Post-build Actions, I do couple configuration,
191. I add Cucumber reports option. This is available because we have 
20installed cucumber html reports plugin to our jenkins.
21Cucumber reports plugin will generate html report for every build. 
22Every time we run smoke tests on jenkins, we get a new
23report. and all reports for all build are saved.
242. I add email option as the next Post-build Actions. Here I configure 
25it so that everyone in my agile team is notified about the
26test results
Jean
10 Nov 2017
1As an automation engineer, I work with the devops/operations supports to 
2create my smoke tests.
3 For running my tests, I need certain plugins installed on Jenkins, 
4   I also need java, maven configured on jenkins, I also need browsers 
5installed on the server where the tests will run.
6 In my project, only devops/operations support team members have right to 
7 do the configurations above. that is why I have to work with them.
8 Once the configuration of the Jenkins is completed, 
9  I can create and run the smoke test job.