我向管道添加了新階段:stage('reports') { steps { script { allure([ includeProperties: false, jdk: '', properties: [], reportBuildPolicy: 'ALWAYS', results: [[path: 'target/allure-results']] ]) } }}但作業(yè)失敗并出現(xiàn)錯(cuò)誤:hudson.remoting.ProxyException: org.jenkinsci.plugins.workflow.steps.MissingContextVariableException: Required context class hudson.FilePath is missing at org.jenkinsci.plugins.workflow.steps.StepDescriptor.checkContextAvailability(StepDescriptor.java:260) at org.jenkinsci.plugins.workflow.cps.DSL.invokeStep(DSL.java:262)Caused: hudson.remoting.ProxyException: org.codehaus.groovy.runtime.InvokerInvocationException: org.jenkinsci.plugins.workflow.steps.MissingContextVariableException: Required context class hudson.FilePath is missing測試是寫在 Python 和 xml 上生成的報(bào)告,但不是誘惑報(bào)告。你能幫我解決這個(gè)錯(cuò)誤嗎?
添加回答
舉報(bào)
0/150
提交
取消