Reputation: 59
i have been trying to run selenium scripts automatically from Jenkins. i have my scripts on Github and also added a plugin for Github on Jenkins. how to run those scripts from Github repository? i am new to all this so not sure what would be the next step
Upvotes: 0
Views: 934
Reputation: 1675
Give these a look through just in case: http://www.uvd.co.uk/blog/labs/configuring-jenkins-continuous-integration-server-to-work-with-git/ and http://justinramel.com/2012/10/20/jenkins-dot-net-setting-up-your-first-job/
You'll want to select git as your VCS system, you'll want to type in the url to the repository so jenkins knows where it's pulling from (you may need to set up credentials). From there, you'll want to execute the command that will run your java program. I don't have access to a jenkins machine at the moment, I believe it's under Build, choose add build step. Depending on how you want to execute your java program, you'll type the command there. It could be a shell command, or windows batch command depending on if you're using linux or windows.
Upvotes: 1