How could I integrate Selenium with Jenkins?

0 votes

How could I integrate Selenium with Jenkins?

Dec 18, 2018 in Jenkins by Ali
• 10,450 points

recategorized Dec 18, 2018 by Ali 98 views

1 answer to this question.

0 votes

Hey @Ali, follow these steps to integrate selenium with jenkins

Assumption- Already have jenkins installed and running and java path is explicitly added.

Follow these steps to execute selenium built using jenkins:

  • Create a batch file save it where your jenkins.war is saved
  • Create a new build in jenkins as freestyle
  • Go to Advanced Project -> check Use Custom Workspace -> Inset the location of your project directory
  • Go to Manage Jenkins -> Configure system -> Build
  • Select Execute Windows Batch command -> under command, add the name of the batch file you've created -> Save and Apply
  • Finally, run your build and check the console output.
answered Dec 20, 2018 by Eric

Related Questions In Jenkins

0 votes
2 answers

How can I make Jenkins CI with Git trigger on pushes to master?

Generic webhook trigger can be useful When configured ...READ MORE

answered Aug 13, 2018 in Jenkins by lina
• 8,100 points
87 views
0 votes
1 answer
0 votes
1 answer

How can I create global macros and templates in jenkins job builder?

you can append the path to the ...READ MORE

answered Apr 2, 2018 in Jenkins by ajs3033
• 7,240 points
251 views
0 votes
1 answer

any way to integrate Jenkins with ServiceNow?

Now, there is no official servicenow support ...READ MORE

answered Apr 10, 2018 in Jenkins by DareDev
• 6,810 points
922 views
+13 votes
2 answers
0 votes
1 answer
0 votes
1 answer

How do I start jenkins on my Virtual Machine?

To start the Jenkins server please follow ...READ MORE

answered Dec 17, 2018 in Jenkins by Arohi
254 views
+5 votes
4 answers

How can I run a Jenkinsfile from a particular folder?

Consider the below points: The Freestyle project ...READ MORE

answered Mar 26, 2018 in Jenkins by anonymous
1,778 views