[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 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
[JIRA] (JENKINS-40437) Git cloning remote repo fails randomly
Title: Message Title Jonas commented on JENKINS-40437 Re: Git cloning remote repo fails randomly Oh, you were right! Something is removing directories while the jobs are running =/. It has to be on our side, then. Thanks a lot! Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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-40437) Git cloning remote repo fails randomly
Title: Message Title Jonas resolved as Fixed Jenkins / JENKINS-40437 Git cloning remote repo fails randomly Change By: Jonas Status: Open Resolved Resolution: Fixed Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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-40437) Git cloning remote repo fails randomly
Title: Message Title Jonas created an issue Jenkins / JENKINS-40437 Git cloning remote repo fails randomly Issue Type: Bug Assignee: Stephen Connolly Components: core, credentials-plugin, git-client-plugin, git-plugin Created: 2016/Dec/14 9:39 AM Environment: OS: debian testing git-plugin version: 3.0.1 (was happening on a much older version as well) git-client-plugin: 2.1.0 (was happening on an older version as well) credentials-plugin: 2.1.10 (was happening on an older version as well) Jenkins is running in an lxc container Priority: Minor Reporter: Jonas We randomly get `GitException`s, caused by a `java.io.IOException` when running `CliGitAPIImpl.createSshKeyFile` (see stacktrace below). This happens randomly on different nodes (i.e. it does not always happen, and not always on the same node). In the job configuration, we simply tell Jenkins to use the corresponding git credentials. The error seems to mean that sometimes, getting the credentials fails for some reason. We thought about a permission problem, but the thing is that it sometimes works without changing the node at all. 09:01:44 > git --version # timeout=10 09:01:44 using GIT_SSH to set credentials Gitmirror key 09:01:44 ERROR: Error cloning remote repo 'origin' 09:01:44 hudson.plugins.git.GitException: Failed to setup credentials 09:01:44 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1491) 09:01:44 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:64) 09:01:44 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:315) 09:01:44 at