How we can create new declarative jenkins pipelines
The question is kinda generic… this is a good starting point: Creating your first Pipeline