-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
声明式pipeline中引用报错,没有jsonFilepath #25
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
WorkflowScript: 174: Missing required parameter: "jsonFilePath" @ line 174, column 9.
18:57:58 dingding accessToken: '${env.OpsInotifycation-dingding}'
18:57:58 ^
18:57:58
18:57:58 WorkflowScript: 180: Missing required parameter: "jsonFilePath" @ line 180, column 9.
18:57:58 dingding accessToken: '${env.OpsInotifycation-dingding}'
18:57:58 ^
18:57:58
18:57:58 WorkflowScript: 186: Missing required parameter: "jsonFilePath" @ line 186, column 9.
18:57:58 dingding accessToken: '${env.OpsInotifycation-dingding}'
18:57:58 ^
18:57:58
18:57:58 3 errors
18:57:58
18:57:58 at org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollector.java:310)
18:57:58 at org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:1085)
18:57:58 at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:603)
18:57:58 at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:581)
18:57:58 at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:558)
18:57:58 at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:298)
18:57:58 at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:268)
18:57:58 at groovy.lang.GroovyShell.parseClass(GroovyShell.java:688)
18:57:58 at groovy.lang.GroovyShell.parse(GroovyShell.java:700)
18:57:58 at org.jenkinsci.plugins.workflow.cps.CpsGroovyShell.doParse(CpsGroovyShell.java:142)
18:57:58 at org.jenkinsci.plugins.workflow.cps.CpsGroovyShell.reparse(CpsGroovyShell.java:127)
18:57:58 at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.parseScript(CpsFlowExecution.java:561)
18:57:58 at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.start(CpsFlowExecution.java:522)
18:57:58 at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:331)
18:57:58 at hudson.model.ResourceController.execute(ResourceController.java:97)
18:57:58 at hudson.model.Executor.run(Executor.java:429)
18:57:58 Finished: FAILURE
post字段中如下
dingding accessToken: '${env.OpsInotifycation-dingding}', imageUrl: '', message: 'Jenkins构建通知', notifyPeople: 'Abner'
之前是dingTalk不知道为什么新版本里变成了dingding
The text was updated successfully, but these errors were encountered: