jenkins
Tip of the day: validating a Jenkinsfile from the CLI with HTTPie
Frederic Marand
An easily missed feature in Jenkins is the bundled linter for Jenkinsfiles.
While there are many examples about how to use it with cURL, I could not find any using HTTPie, which I find much more convenient in general than cURL. So, after some fumbling due to the little documented expectations of the validator, here is the solution showing how to validate a Jenkinsfile from the CLI: