java.lang.NoSuchMethodError: No such DSL method 'uipathDeploy' found among steps

Hi

am trying to build a pipeline to deploy the package in Jenkins. I am receiving this error.

java.lang.NoSuchMethodError: No such DSL method ‘uipathDeploy’ found among steps .

pipeline Script : uiPathDeploy credentialsId: ‘RPA_Orchestrator’, orchestratorAddress: ‘xxxxxxxxxx’, orchestratorTenant: ‘xxxxxxxxxx’, packagePath: ‘${WORKSPACE}’

If i Use “UiPathDeploy” it throws me groovy syntax error