Hi,
I have a script like the following:
import groovy.json.JsonSlurper
def xxx = new JsonSlurper().parseText(inputFile.text)
...
When I use the option "
Use the provided DSL script" and paste the script into the input box it works without issue. However when I use the option "Look on Filesystem" to read the file from disk (which was checked out from git), it throws the error:
unable to resolve class JsonSlurper
Can anyone suggest why this might be the case and how to resolve it (if its not a bug)?
thanks