test: Add unit tests for the Jenkinsfile
Use the Jenkins Pipeline Unit testing framework to catch errors in the Jenkinsfile without submitting a real build.
For the moment no specific invariant is checked, but it should be suffcient to catch syntax errors before starting the job on Jenkins.
Edited by Emanuele Aina