I've been looking and so far been unable to find a way of validating/linting my Jenkinsfile. At least not by using tox, pycharm or another way outside of visual code for example (I did saw some examples of that, more or less).
Does anyone know of a way to do this? I would like to perform some simple checks, like:
- return a warning if an environment variable inside the file is used but isn't declared (so I know I have to check if it is set on server level, for example).
- Creating some custom checks would be a huge plus: e.g. if strings, without variables, use single quotes instead of double.