[JIRA] (JENKINS-59457) all pipeline job failed after upgrade security script plugin

3 views
Skip to first unread message

tiendungitd@gmail.com (JIRA)

unread,
Sep 20, 2019, 1:03:04 AM9/20/19
to jenkinsc...@googlegroups.com
Dennis Tran created an issue
 
Jenkins / Bug JENKINS-59457
all pipeline job failed after upgrade security script plugin
Issue Type: Bug Bug
Assignee: Andrew Bayer
Components: script-security-plugin
Created: 2019-09-20 05:02
Environment: Jenkins in Ubuntu version 2.164.2
Script security plugin 1.64
Priority: Minor Minor
Reporter: Dennis Tran

After upgrading secript security plugin from version 1.57 to 1.64, all my pipeline jobs have been failed with some error:

org.jenkinsci.plugins.workflow.steps.MissingContextVariableException: Required context class hudson.FilePath is missingorg.jenkinsci.plugins.workflow.steps.MissingContextVariableException: Required context class hudson.FilePath is missingPerhaps you forgot to surround the code with a step that provides this, such as: node, dockerNode at org.jenkinsci.plugins.workflow.steps.StepDescriptor.checkContextAvailability(StepDescriptor.java:266)

or

Groovy.lang.MissingPropertyException: No such property: buildUser for class: WorkflowScriptGroovy.lang.MissingPropertyException: No such property: buildUser for class: WorkflowScript at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:53) at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.getProperty(ScriptBytecodeAdapter.java:458) at org.kohsuke.groovy.sandbox.impl.Checker$6.call(Checker.java:293)

Please advise me to fix the issue. 

Thanks.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

tiendungitd@gmail.com (JIRA)

unread,
Sep 23, 2019, 10:10:07 PM9/23/19
to jenkinsc...@googlegroups.com
Dennis Tran closed an issue as Won't Fix
 

My apologies, this issue not come from security script plugin, but from Pipeline Nodes and Processes Plugin, I did not update Pipeline Groovy Plugin before update it.

 

Change By: Dennis Tran
Status: Open Closed
Resolution: Won't Fix
Reply all
Reply to author
Forward
0 new messages