I have a abc.groovy script which takes an argument. In my local I run it as
$ groovy abc.groovy <argumentValue>
I have stored this abc.groovy in a remote linux box under path "/home/path/to a directory/"
and I have a jenkins pipeline job with a Jenkinsfile. How can I call abc.groovy from the JenkinsFile.