[JIRA] (JENKINS-42830) No such property: ci for class: groovy.lang.Binding when updating Multibranch plugins
Title: Message Title Vivek Pandey updated an issue Jenkins / JENKINS-42830 No such property: ci for class: groovy.lang.Binding when updating Multibranch plugins Change By: Vivek Pandey Labels: diagnostics triaged-2018-11 Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-42830) No such property: ci for class: groovy.lang.Binding when updating Multibranch plugins
Title: Message Title Romain Geissler commented on JENKINS-42830 Re: No such property: ci for class: groovy.lang.Binding when updating Multibranch plugins Hi, I am having this issue too. I have created a (tentative) pull request here https://github.com/jenkinsci/workflow-multibranch-plugin/pull/71 to at least leave the choice of the user to use lightweight checkout or not, that might unblock the people who used this unsupported feature until now and which actually worked. On the comment saying that symlinks to Jenkins file are not supported, well I would say this is not the responsibility of Jenkins in general to decide that, but rather each source plugin. The current git plugin doesn't support it, neither the Bitbucket one, however for example for the Bitbucket plugin we "just" need Atlassian to add some new API in their REST API to allow this kind of things. People working in company having support contracts with Atlassian (this is my case) may have the power to ask Atlassian to do that (we haven't contacted Atlassian yet for that, I still don't know at this point if we will). Using the above mentionned workaround of specifying a different Jenkinsfile path so that symlink work has two issues: - all branches have to follow the same naming convention, while with symlink each branch is free to follow any convention, just symlink "Jenkinsfile" at the root - it doesn't work when you symlink the Jenkinsfile to a submodule (it's my case). Again supporting submodules would be the responsibility of each source plugin, like the git one, or the Bitbucket one. So please consider the above pull request, that I agree is just a workaround for now, to avoid lightweight checkout in some particular cases, rather than using the big kill switch that would disable it for all builds. Cheers, Romain Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)
[JIRA] (JENKINS-42830) No such property: ci for class: groovy.lang.Binding when updating Multibranch plugins
Title: Message Title Jonas commented on JENKINS-42830 Re: No such property: ci for class: groovy.lang.Binding when updating Multibranch plugins I just double-checked, and I don't have any "ci" variable. I call `load "ci/path/to/script"` sometimes, though. Moreover, I get this error when I update the two plugins, and Jenkins works again when I rollback to my previous versions. In other words, my `Jenkinsfile` works for normal pipelines and for one multibranch pipeline, and only stops working when I update the multibranch plugins, which is why I thought it might be related to them. I'll try to find a minimal `Jenkinsfile` to reproduce the issue. Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-42830) No such property: ci for class: groovy.lang.Binding when updating Multibranch plugins
Title: Message Title Stephen Connolly assigned an issue to Jesse Glick Jenkins / JENKINS-42830 No such property: ci for class: groovy.lang.Binding when updating Multibranch plugins Change By: Stephen Connolly Assignee: Stephen Connolly Jesse Glick Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-42830) No such property: ci for class: groovy.lang.Binding when updating Multibranch plugins
Title: Message Title Stephen Connolly resolved as Incomplete Please reopen when you have steps to reproduce Jenkins / JENKINS-42830 No such property: ci for class: groovy.lang.Binding when updating Multibranch plugins Change By: Stephen Connolly Status: Open Resolved Resolution: Incomplete Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more
[JIRA] (JENKINS-42830) No such property: ci for class: groovy.lang.Binding when updating Multibranch plugins
Title: Message Title Stephen Connolly updated an issue Jenkins / JENKINS-42830 No such property: ci for class: groovy.lang.Binding when updating Multibranch plugins Change By: Stephen Connolly Component/s: branch-api-plugin Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-42830) No such property: ci for class: groovy.lang.Binding when updating Multibranch plugins
Title: Message Title Jesse Glick commented on JENKINS-42830 Re: No such property: ci for class: groovy.lang.Binding when updating Multibranch plugins Presumably your Jenkinsfile was trying to use some variable named ci, which was not defined. Without steps to reproduce the problem from scratch it is impossible to help you. Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-42830) No such property: ci for class: groovy.lang.Binding when updating Multibranch plugins
Title: Message Title Jesse Glick updated an issue Jenkins / JENKINS-42830 No such property: ci for class: groovy.lang.Binding when updating Multibranch plugins Change By: Jesse Glick After updating "Pipeline: Multibranch" (1.11.1 -> 2.0.8) and "Branch API Plugin" (2.9.2 -> 2.14), I get the following error: { quote code:none } Seen 45 remote branches Obtained Jenkinsfile from 3d130723653bda531006ae85801a10eed5fc6249 \{color:#9a} [Pipeline] End of Pipeline \{color} groovy.lang.MissingPropertyException: No such property: ci for class: groovy.lang.Binding at groovy.lang.Binding.getVariable(Binding.java:63) at org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SandboxInterceptor.onGetProperty(SandboxInterceptor.java:224) at org.kohsuke.groovy.sandbox.impl.Checker$4.call(Checker.java:241) at org.kohsuke.groovy.sandbox.impl.Checker.checkedGetProperty(Checker.java:238) at com.cloudbees.groovy.cps.sandbox.SandboxInvoker.getProperty(SandboxInvoker.java:28) at com.cloudbees.groovy.cps.impl.PropertyAccessBlock.rawGet(PropertyAccessBlock.java:20) at WorkflowScript.run(WorkflowScript:1) at ___cps.transform___(Native Method) at com.cloudbees.groovy.cps.impl.PropertyishBlock$ContinuationImpl.get(PropertyishBlock.java:74) at com.cloudbees.groovy.cps.LValueBlock$GetAdapter.receive(LValueBlock.java:30) at com.cloudbees.groovy.cps.impl.PropertyishBlock$ContinuationImpl.fixName(PropertyishBlock.java:66) at sun.reflect.GeneratedMethodAccessor313.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72) at com.cloudbees.groovy.cps.impl.ConstantBlock.eval(ConstantBlock.java:21) at com.cloudbees.groovy.cps.Next.step(Next.java:74) at com.cloudbees.groovy.cps.Continuable.run0(Continuable.java:154) at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.access$001(SandboxContinuable.java:18) at org.jenkinsci.plugins.workflow.cps.SandboxContinuable$1.call(SandboxContinuable.java:33) at org.jenkinsci.plugins.workflow.cps.SandboxContinuable$1.call(SandboxContinuable.java:30) at org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.GroovySandbox.runInSandbox(GroovySandbox.java:108) at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.run0(SandboxContinuable.java:30) at org.jenkinsci.plugins.workflow.cps.CpsThread.runNextChunk(CpsThread.java:165) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:328) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.access$100(CpsThreadGroup.java:80) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:240) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:228) at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$2.call(CpsVmExecutorService.java:64) at
[JIRA] (JENKINS-42830) No such property: ci for class: groovy.lang.Binding when updating Multibranch plugins
Title: Message Title Jonas created an issue Jenkins / JENKINS-42830 No such property: ci for class: groovy.lang.Binding when updating Multibranch plugins Issue Type: Bug Assignee: Stephen Connolly Components: branch-api-plugin, pipeline-multibranch-defaults-plugin Created: 2017/Mar/16 9:17 AM Environment: Jenkins 2.49 Pipeline: Multibranch 2.0.8 Branch API Plugin 2.14 Priority: Blocker Reporter: Jonas After updating "Pipeline: Multibranch" (1.11.1 -> 2.0.8) and "Branch API Plugin" (2.9.2 -> 2.14), I get the following error: Seen 45 remote branches Obtained Jenkinsfile from 3d130723653bda531006ae85801a10eed5fc6249{color:#9a}[Pipeline] End of Pipeline{color}groovy.lang.MissingPropertyException: No such property: ci for class: groovy.lang.Binding at groovy.lang.Binding.getVariable(Binding.java:63) at org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SandboxInterceptor.onGetProperty(SandboxInterceptor.java:224) at org.kohsuke.groovy.sandbox.impl.Checker$4.call(Checker.java:241) at org.kohsuke.groovy.sandbox.impl.Checker.checkedGetProperty(Checker.java:238) at com.cloudbees.groovy.cps.sandbox.SandboxInvoker.getProperty(SandboxInvoker.java:28) at com.cloudbees.groovy.cps.impl.PropertyAccessBlock.rawGet(PropertyAccessBlock.java:20) at WorkflowScript.run(WorkflowScript:1) at __cps.transform__(Native Method) at com.cloudbees.groovy.cps.impl.PropertyishBlock$ContinuationImpl.get(PropertyishBlock.java:74) at com.cloudbees.groovy.cps.LValueBlock$GetAdapter.receive(LValueBlock.java:30) at com.cloudbees.groovy.cps.impl.PropertyishBlock$ContinuationImpl.fixName(PropertyishBlock.java:66) at sun.reflect.GeneratedMethodAccessor313.invoke(Unknown Source) at
[JIRA] (JENKINS-42830) No such property: ci for class: groovy.lang.Binding when updating Multibranch plugins
Title: Message Title Jonas updated an issue Jenkins / JENKINS-42830 No such property: ci for class: groovy.lang.Binding when updating Multibranch plugins Change By: Jonas After updating "Pipeline: Multibranch" (1.11.1 -> 2.0.8) and "Branch API Plugin" (2.9.2 -> 2.14), I get the following error: {quote} Seen 45 remote branchesObtained Jenkinsfile from 3d130723653bda531006ae85801a10eed5fc6249\{color:#9a}[Pipeline] End of Pipeline\{color}groovy.lang.MissingPropertyException: No such property: ci for class: groovy.lang.Binding at groovy.lang.Binding.getVariable(Binding.java:63) at org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SandboxInterceptor.onGetProperty(SandboxInterceptor.java:224) at org.kohsuke.groovy.sandbox.impl.Checker$4.call(Checker.java:241) at org.kohsuke.groovy.sandbox.impl.Checker.checkedGetProperty(Checker.java:238) at com.cloudbees.groovy.cps.sandbox.SandboxInvoker.getProperty(SandboxInvoker.java:28) at com.cloudbees.groovy.cps.impl.PropertyAccessBlock.rawGet(PropertyAccessBlock.java:20) at WorkflowScript.run(WorkflowScript:1) at ___cps.transform___(Native Method) at com.cloudbees.groovy.cps.impl.PropertyishBlock$ContinuationImpl.get(PropertyishBlock.java:74) at com.cloudbees.groovy.cps.LValueBlock$GetAdapter.receive(LValueBlock.java:30) at com.cloudbees.groovy.cps.impl.PropertyishBlock$ContinuationImpl.fixName(PropertyishBlock.java:66) at sun.reflect.GeneratedMethodAccessor313.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72) at com.cloudbees.groovy.cps.impl.ConstantBlock.eval(ConstantBlock.java:21) at com.cloudbees.groovy.cps.Next.step(Next.java:74) at com.cloudbees.groovy.cps.Continuable.run0(Continuable.java:154) at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.access$001(SandboxContinuable.java:18) at org.jenkinsci.plugins.workflow.cps.SandboxContinuable$1.call(SandboxContinuable.java:33) at org.jenkinsci.plugins.workflow.cps.SandboxContinuable$1.call(SandboxContinuable.java:30) at org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.GroovySandbox.runInSandbox(GroovySandbox.java:108) at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.run0(SandboxContinuable.java:30) at org.jenkinsci.plugins.workflow.cps.CpsThread.runNextChunk(CpsThread.java:165) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:328) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.access$100(CpsThreadGroup.java:80) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:240) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:228) at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$2.call(CpsVmExecutorService.java:64) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at