-
Task
-
Resolution: Unresolved
-
Critical
-
None
Getting error like :
groovy.lang.missinMethodException: no signature of method : xyz() is applicable for argument type (java.lang.String) : values [SUCCESS]
my method calling is like :
pipeline {pipeline {
*environment
*
....
....
externalMethod.notifyStatusChangeViaEmail("${currentBuild.currentResult}")
}
and method signature in local file is like :
public class MyClass {public class MyClass {
def notifyStatusChangeViaEmail(GString buildStatus)
{ // TODO }
}