Introduction
After your Jenkins job finishes building your project, you often want to do extra steps like sending notifications or archiving files. Post-build actions let you automate these extra tasks easily.
When you want to send an email alert if the build fails or succeeds.
When you need to save build artifacts like compiled files for later use.
When you want to trigger another Jenkins job after the current one finishes.
When you want to publish test results automatically after the build.
When you want to clean up temporary files or notify a chat channel after build.