We are ready to add our first job to Jenkins (Will not be practically that rich, though).
- Go to jenkins --> New Item
- Add build step --> Execute Shell
- Click Save Button.
- Click "Build Now".
- You will see a new run of Job under Build History
- Click the new build and go to console output
Schedule Your Job:
Jenkins can run your job on-demand or at a specific time. Above section shows example of on-demand run. You can also run your job periodically. To do so- Go to your job "smoke_tests" and then click "configure".
- Under "Build Trigger". Click "Build Periodically"
- Enter regex in "Schedule" textbox. Click help icon in front of the box to know more about it.
* * * * * will run it every minute.
Sounds good :).
No comments:
Post a Comment