Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-59457

all pipeline job failed after upgrade security script plugin

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Won't Fix
    • Component/s: script-security-plugin
    • Labels:
      None
    • Environment:
      Jenkins in Ubuntu version 2.164.2
      Script security plugin 1.64
    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          Hide
          tiendungitd Dennis Tran added a comment -

          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.

           

          Show
          tiendungitd Dennis Tran added a comment - 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.  

            People

            • Assignee:
              abayer Andrew Bayer
              Reporter:
              tiendungitd Dennis Tran
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: