简体   繁体   中英

Selenium integration with Jenkins

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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM