Skip to main content

1 year ago

getting below error : while executing 1st pipeline job

groovy.lang.MissingPropertyException: No such property: pipeline for class: groovy.lang.Binding
at groovy.lang.Binding.getVariable(
at org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SandboxInterceptor.onMethodCall(
at org.kohsuke.groovy.sandbox.impl.Checker$
at org.kohsuke.groovy.sandbox.impl.Checker.checkedCall(
at com.cloudbees.groovy.cps.sandbox.SandboxInvoker.methodCall(
at ___cps.transform___(Native Method)
at com.cloudbees.groovy.cps.impl.ContinuationGroup.methodCall(
at com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.dispatchOrArg(
at com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.fixArg(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(

and my Jenkinsfile code is
pipeline {

agent any

stages {
stage ('Build') {
steps {
sh 'ant -f build.xml -v'

please help.

Image of aboutflying
1 year ago

There was a recent update to the Jenkins script security plugin that seems to have broken some stuff, see

Temp solution is to downgrade the script security plugin manually to 1.44. Go here and download the 1.44 script-security.hpi:

Then go to Manage Jenkins -> Manage Plugins -> Advanced -> upload the 1.44 script-security plugin and then restart Jenkins.

Image of navin1487
8 months ago
Hi Bill ,
Facing same issue again 
I am using  jenkins version : 2.150.2  and   script-security plugin version : 1.51

1.44 script-security plugin is no longer supported it is forcefully asking to upgrade to latest version i.e 1.50+ version

please help me