Introduction
Sometimes one tool or method does not fit every situation. Knowing different ways to do the same task helps you pick the best option and solve problems faster.
When your current Jenkins pipeline step is slow or unreliable and you want to try a different approach.
When you need to integrate Jenkins with a new tool or service that your usual method does not support.
When you want to improve your pipeline by using newer or simpler plugins or scripts.
When troubleshooting a failing build and suspect the problem is with the current method used.
When collaborating with others who use different Jenkins practices or tools.