I am creating a Groovy file to be used as part of a Jenkins pipeline. It is quite simple. It imports a jar using @Grab and calls a method in it. This jar (Scala
@Grab