Adding Artifacts into the Build Execution
- Go to ‘Build -> All build plans’.
- Click created plan link.
- Click ‘Actions -> Configure plan’ option.
- Click ‘Stages’ tab and then click job link.
- Click ‘Artifacts -> Create definition’. This will display the following screen.
- Enter the name and pattern. If you want to add all the files into artifact from ‘test-output’ directory, then use ‘**/test-output/*’. If you want to add only .html files, use ‘**/test-output/*.html’.
- Click ‘Create’ button.
- Click ‘Run -> Run Plan’ and click ‘Artifacts’ tab.
Mail Configuration
- Click ‘Setting -> Overview’ icon.
- Click ‘Mail server’ link under ‘Communication’.
- Enter the details, as shown below.
- Click ‘Save’ button.
- Now enter the valid email id into ‘Test recipient address’ to verify whether the mail is received or not.
- Click ‘Test’ button. This will display the following message.
Adding Notification into the Plan
- First, follow the mail configuration section and configure the mail. If it has been already done, ignore it.
- Click created Plan link.
- Click ‘Actions -> Configure plan’ option.
- Click ‘Notification’ tab and ‘Add Notification’ button.
- Select proper data into ‘Event’ and ‘Recipient type’ field.
- Click ‘Add’ button.
- Now run the plan. This will display the message given below.
You may also like: How to Create and Run Your First Project in Bamboo?