Introduction
When you want Jenkins to perform tasks like compiling code, running tests, or packaging software, you use build steps. Build steps are the individual commands or scripts Jenkins runs to build your project.
When you need to compile your source code into executable files automatically.
When you want to run automated tests after code changes to catch errors early.
When you want to package your application into a deployable format like a zip or jar file.
When you want to run shell commands or scripts as part of your build process.
When you want to automate repetitive tasks in your software development pipeline.