Jenkins with ANT
With Jenkins you can perform both local builds and Remote builds, Here is an example which shows how to perform local builds
1) Start the jenkins server
In cmd prompt go to the folder where Jenkins.war and type java -jar Jenkins.war
2)Once the Jenkins server is started, open localhost:8080
3)Click on New item link to add project to Jenkins
4)Enter Project Description and select Build Free style Software Project radio button
5)In bottom of Screen, you will find, a button,Add Build Step, click on it and select Invoke Ant Option
Then click on Advanced, it will shows options as shown in picture
Enter your Ant targets and Path of Build File, Save Changes
6)Go to Dashboard and from project, select Build Now to automatically perform Build
With Jenkins you can perform both local builds and Remote builds, Here is an example which shows how to perform local builds
1) Start the jenkins server
In cmd prompt go to the folder where Jenkins.war and type java -jar Jenkins.war
2)Once the Jenkins server is started, open localhost:8080
3)Click on New item link to add project to Jenkins
4)Enter Project Description and select Build Free style Software Project radio button
5)In bottom of Screen, you will find, a button,Add Build Step, click on it and select Invoke Ant Option
Then click on Advanced, it will shows options as shown in picture
Enter your Ant targets and Path of Build File, Save Changes
6)Go to Dashboard and from project, select Build Now to automatically perform Build
No comments:
Post a Comment