[JIRA] (JENKINS-27299) Refactor Disable Build feature out of AbstractProject for Pipeline Compatibility

2017-03-29 Thread omer.van.kloe...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Omer van Kloeten commented on  JENKINS-27299  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Refactor Disable Build feature out of AbstractProject for Pipeline Compatibility   
 

  
 
 
 
 

 
 Was really surprised disabling pipeline builds was not supported. +1 for resolving this 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-42882) GitSCMFile::content() doesn't handle symlinks

2017-03-22 Thread omer.van.kloe...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Omer van Kloeten edited a comment on  JENKINS-42882  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: GitSCMFile::content() doesn't handle symlinks   
 

  
 
 
 
 

 
 +1 to this issue, just hit it myself.  {quote}  For reference, when Jenkinsfile is symlinked to ci/build.groovy, this is what I'm seeing: {quote}  Obtained Jenkinsfile from f5035722844a5de1222dfaba340171ca060f3c6b [Pipeline] End of Pipeline 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.GeneratedMethodAccessor332.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 hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:112) at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Finished: FAILURE  {quote}  
 

  
 
 
 

[JIRA] (JENKINS-42882) GitSCMFile::content() doesn't handle symlinks

2017-03-22 Thread omer.van.kloe...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Omer van Kloeten edited a comment on  JENKINS-42882  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: GitSCMFile::content() doesn't handle symlinks   
 

  
 
 
 
 

 
 +1 to this issue, just hit it myself.   {quote} For reference, when Jenkinsfile is symlinked to ci/build.groovy, this is what I'm seeing:Obtained Jenkinsfile from f5035722844a5de1222dfaba340171ca060f3c6b[Pipeline] End of Pipelinegroovy.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.GeneratedMethodAccessor332.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 hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:112) at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)Finished: FAILURE  {quote}  
 

  
 
 
 
 
   

[JIRA] (JENKINS-42882) GitSCMFile::content() doesn't handle symlinks

2017-03-22 Thread omer.van.kloe...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Omer van Kloeten edited a comment on  JENKINS-42882  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: GitSCMFile::content() doesn't handle symlinks   
 

  
 
 
 
 

 
 +1 to this issue, just hit it myself. For reference, when Jenkinsfile is symlinked to ci/build.groovy, this is what I'm seeing:    {{ Obtained Jenkinsfile from f5035722844a5de1222dfaba340171ca060f3c6b }}  {{ [Pipeline] End of Pipeline }}  {{ 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.GeneratedMethodAccessor332.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 hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:112) }}  {{  at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28) }}  {{  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) }}  {{  at java.util.concurrent.FutureTask.run(FutureTask.java:266) }}  {{  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) }}  {{  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) }}  {{  at java.lang.Thread.run(Thread.java:745) }}  {{ 

[JIRA] (JENKINS-42882) GitSCMFile::content() doesn't handle symlinks

2017-03-22 Thread omer.van.kloe...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Omer van Kloeten edited a comment on  JENKINS-42882  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: GitSCMFile::content() doesn't handle symlinks   
 

  
 
 
 
 

 
 +1 to this issue, just hit it myself. For reference, when Jenkinsfile is symlinked to ci/build.groovy, this is what I'm seeing: {{  Obtained Jenkinsfile from f5035722844a5de1222dfaba340171ca060f3c6b }}  {{  [Pipeline] End of Pipeline }}  {{  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.GeneratedMethodAccessor332.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 hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:112) }}  {{  at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28) }}  {{  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) }}  {{  at java.util.concurrent.FutureTask.run(FutureTask.java:266) }}  {{  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) }}  {{  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) }}  {{  at java.lang.Thread.run(Thread.java:745) }}  {{  

[JIRA] (JENKINS-42882) GitSCMFile::content() doesn't handle symlinks

2017-03-22 Thread omer.van.kloe...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Omer van Kloeten edited a comment on  JENKINS-42882  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: GitSCMFile::content() doesn't handle symlinks   
 

  
 
 
 
 

 
 +1 to this issue, just hit it myself. For reference, when Jenkinsfile is symlinked to ci/build.groovy, this is what I'm seeing: {quote}{{   Obtained Jenkinsfile from f5035722844a5de1222dfaba340171ca060f3c6b }}  {{  [Pipeline] End of Pipeline }}  {{  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.GeneratedMethodAccessor332.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 hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:112) }}  {{  at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28) }}  {{  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) }}  {{  at java.util.concurrent.FutureTask.run(FutureTask.java:266) }}  {{  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) }}  {{  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) }}  {{  at java.lang.Thread.run(Thread.java:745) }}  {{  

[JIRA] (JENKINS-42882) GitSCMFile::content() doesn't handle symlinks

2017-03-22 Thread omer.van.kloe...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Omer van Kloeten commented on  JENKINS-42882  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: GitSCMFile::content() doesn't handle symlinks   
 

  
 
 
 
 

 
 +1 to this issue, just hit it myself.  For reference, when Jenkinsfile is symlinked to ci/build.groovy, this is what I'm seeing: Obtained Jenkinsfile from f5035722844a5de1222dfaba340171ca060f3c6b [Pipeline] End of Pipeline 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.GeneratedMethodAccessor332.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 hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:112) at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Finished: FAILURE    
 

  
 
 
 
 

[JIRA] (JENKINS-42882) GitSCMFile::content() doesn't handle symlinks

2017-03-22 Thread omer.van.kloe...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Omer van Kloeten edited a comment on  JENKINS-42882  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: GitSCMFile::content() doesn't handle symlinks   
 

  
 
 
 
 

 
 +1 to this issue, just hit it myself. For reference, when Jenkinsfile is symlinked to ci/build.groovy, this is what I'm seeing:  {quote}{{ Obtained Jenkinsfile from f5035722844a5de1222dfaba340171ca060f3c6b }}  {{ [Pipeline] End of Pipeline }}  {{ 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.GeneratedMethodAccessor332.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 hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:112) }}  {{  at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28) }}  {{  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) }}  {{  at java.util.concurrent.FutureTask.run(FutureTask.java:266) }}  {{  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) }}  {{  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) }}  {{  at java.lang.Thread.run(Thread.java:745) }}  {{ 

[JIRA] (JENKINS-43020) Unable to stop multi-branch pipeline build

2017-03-22 Thread omer.van.kloe...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Omer van Kloeten updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-43020  
 
 
  Unable to stop multi-branch pipeline build   
 

  
 
 
 
 

 
Change By: 
 Omer van Kloeten  
 

  
 
 
 
 

 
 When trying to stop a multibranch pipeline build, I get the following error:{{POST is required for org.jenkinsci.plugins.workflow.job.WorkflowRun.doStop}}This error is followed by a button marked "Try POSTing" which goes to an error page (403, missing crumb).The workaround is going to the Script Console and running:{{Jenkins.instance}}{{    .getItemByFullName("")}}{{    .getBranch("")}}{{    .getBuildByNumber()}}{{    .finish(hudson.model.Result.ABORTED, new java.io.IOException("Aborting build"));}}But this is incredibly hacky and leaves the workflow view for the build in a state of "in progress" even though the build is no longer running. Also, on the next restart of the Jenkins server, the build will resume running.  
 

  
 
 
 
 

 
 
 

 
 
 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 

[JIRA] (JENKINS-43020) Unable to stop multi-branch pipeline build

2017-03-22 Thread omer.van.kloe...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Omer van Kloeten updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-43020  
 
 
  Unable to stop multi-branch pipeline build   
 

  
 
 
 
 

 
Change By: 
 Omer van Kloeten  
 
 
Environment: 
 Jenkins ver. 2.32.3Pipeline: Multibranch plugin ver. 2.14  
 

  
 
 
 
 

 
 
 

 
 
 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-43020) Unable to stop multi-branch pipeline build

2017-03-22 Thread omer.van.kloe...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Omer van Kloeten updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-43020  
 
 
  Unable to stop multi-branch pipeline build   
 

  
 
 
 
 

 
Change By: 
 Omer van Kloeten  
 
 
Priority: 
 Critical Major  
 

  
 
 
 
 

 
 
 

 
 
 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-43020) Unable to stop multi-branch pipeline build

2017-03-22 Thread omer.van.kloe...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Omer van Kloeten created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-43020  
 
 
  Unable to stop multi-branch pipeline build   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Unassigned  
 
 
Components: 
 workflow-multibranch-plugin  
 
 
Created: 
 2017/Mar/22 7:39 AM  
 
 
Priority: 
  Critical  
 
 
Reporter: 
 Omer van Kloeten  
 

  
 
 
 
 

 
 When trying to stop a multibranch pipeline build, I get the following error: POST is required for org.jenkinsci.plugins.workflow.job.WorkflowRun.doStop This error is followed by a button marked "Try POSTing" which goes to an error page (403, missing crumb). The workaround is going to the Script Console and running: Jenkins.instance     .getItemByFullName("")     .getBranch("")     .getBuildByNumber()     .finish(hudson.model.Result.ABORTED, new java.io.IOException("Aborting build")); But this is incredibly hacky and leaves the workflow view for the build in a state of "in progress" even though the build is no longer running.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  

[JIRA] (JENKINS-37116) Add support for Jenkins Pipeline to the shiningpanda-plugin

2017-03-09 Thread omer.van.kloe...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Omer van Kloeten commented on  JENKINS-37116  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Add support for Jenkins Pipeline to the shiningpanda-plugin   
 

  
 
 
 
 

 
 +1 to this. Would love to be able to run "native" pipeline commands to build inside venv.  
 

  
 
 
 
 

 
 
 

 
 
 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.