diff --git a/src/main/groovy/com/lesfurets/jenkins/unit/declarative/GenericPipelineDeclaration.groovy b/src/main/groovy/com/lesfurets/jenkins/unit/declarative/GenericPipelineDeclaration.groovy index 26d5a9e0..4300935c 100644 --- a/src/main/groovy/com/lesfurets/jenkins/unit/declarative/GenericPipelineDeclaration.groovy +++ b/src/main/groovy/com/lesfurets/jenkins/unit/declarative/GenericPipelineDeclaration.groovy @@ -89,7 +89,7 @@ abstract class GenericPipelineDeclaration { if (metaMethod) { metaMethod.invoke(this, propertyName) } else { - throw new MissingPropertyException(name) + throw new MissingPropertyException(propertyName) } } }