| Hi, When I use below method after parsing the JSON using JsonSlurper(), I am getting java.io.NotSerializableException: groovy.json.internal.LazyMap error. If I just try to print the values of the JSON, I am not getting any error Can someone please share the workaround for this. This is a blocker for us.
def gitCheckOut(String wsPath, String url, String cred, String branch) {
try {
ws("$wsPath") {
git ([url: "$url", credentialsId: "$cred", branch: "$branch"])
}
} catch (Exception ex) {
echo ex.getMessage()
gitCoErrors = gitCoErrors + "$wsPath\n"
}
}
|