I add compatibility with Pipeline plugin, now you can run a step of Zephyr fro jita test management plugin.
node {
git url: 'file:////Users/inifc/Documents/workspace/statusCheck'
def mvnHome = tool 'maven3'
sh "${mvnHome}/bin/mvn clean package"
step([$class: 'JUnitResultArchiver', testResults: '**/target/surefire-reports/TEST-*.xml'])
step([$class: 'ZfjReporter',serverAddress: 'http://127.0.0.1:9090',projectKey:'PRJ',versionKey:'1',cycleKey:'CreateNewCycle',cycleDuration:'30 days',cyclePrefix:''])
}
https://github.com/jenkinsci/zephyr-for-jira-test-management-plugin/pull/2
Presumably you mean to make ZfjReporter a SimpleBuildStep?