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 107 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
3 answers

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

To automatically run build on code commit, follow ...READ MORE

answered Aug 7 in Jenkins by Sirajul
• 17,910 points
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,280 points
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
+13 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,380 points
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
+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