Professional Documents
Culture Documents
Jenkins-1-1 (5) (1)
Jenkins-1-1 (5) (1)
Jenkins-1-1 (5) (1)
Jenkins:
Download Jenkins:
Step2:
Step3:
Step: In Cmd prompt, type java –jar drag and drop the Jenkins.war file
Now drag and drop the Jenkins jar file near to java –jar and hit enter.
Step:
Create a project in eclipse and then add selenium server standalone 2.45.1 jar
Step:
Invoke Jenkins by typing “localhost: 8080” in the address bar and hit enter
Step: click on Manage Jenkins >configure system option and set the java path as below:
Step: Create a class file and right click on it and TestNG>convert to TestNG option. Create XML and run
from XML.
Step: Take the path of the project>properties>Location and copy the value.
Place the Lib folder which has all the jar files
Step:
set classpath=c:\workspace\jenkinsde\bin;c:\workspace\jenkinsde\library\*;
now type:
java org.testng.TestNG testng.xml and hit enter , ur script will run now in cmd prompt
step:
Now double click on the “dryrun.bat” so that I will run the script
Step:
Step:
Step:
Step:
Step:
Step:
Step:
Step:
Step:
Step:
Step:
Step:
Step:
Now click on build now option and scriptwill fail and hence we will get email notification
Step:
Step: