Introduction
When you want to automate software building and testing, you need a clear way to tell Jenkins what steps to run. Declarative pipeline syntax lets you write these steps in a simple, organized way that Jenkins understands easily.
When you want to automate building your app every time you save code.
When you want to run tests automatically after building your software.
When you want to deploy your app to a server after tests pass.
When you want to keep your automation steps easy to read and change.
When you want to share your build process with your team in a clear format.