[JIRA] (JENKINS-38052) Pipeline parallel map not supporting curried closures

2018-02-13 Thread scm_issue_l...@java.net (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 SCM/JIRA link daemon commented on  JENKINS-38052  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Pipeline parallel map not supporting curried closures   
 

  
 
 
 
 

 
 Code changed in jenkins User: Andrew Bayer Path: src/test/java/org/jenkinsci/plugins/workflow/cps/CpsFlowDefinition2Test.java http://jenkins-ci.org/commit/workflow-cps-plugin/37e3fdde8a0ee5470924ff09ba3957ec421d29f5 Log: JENKINS-38052 Test verifying that JENKINS-38052 is fixed.  
 

  
 
 
 
 

 
 
 

 
 
 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-38052) Pipeline parallel map not supporting curried closures

2016-10-12 Thread jgl...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jesse Glick reopened an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Not obviously a duplicate.  
 

  
 
 
 
 

 
 Jenkins /  JENKINS-38052  
 
 
  Pipeline parallel map not supporting curried closures   
 

  
 
 
 
 

 
Change By: 
 Jesse Glick  
 
 
Resolution: 
 Duplicate  
 
 
Status: 
 Resolved Reopened  
 
 
Assignee: 
 Jesse Glick  
 

  
 
 
 
 

 
 
 

 
 
 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 

[JIRA] (JENKINS-38052) Pipeline parallel map not supporting curried closures

2016-10-12 Thread andrew.ba...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Andrew Bayer resolved as Duplicate  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Yet another of the JENKINS-26481 symptoms...  
 

  
 
 
 
 

 
 Jenkins /  JENKINS-38052  
 
 
  Pipeline parallel map not supporting curried closures   
 

  
 
 
 
 

 
Change By: 
 Andrew Bayer  
 
 
Status: 
 Open Resolved  
 
 
Resolution: 
 Duplicate  
 

  
 
 
 
 

 
 
 

 
 
 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 

[JIRA] (JENKINS-38052) Pipeline parallel map not supporting curried closures

2016-10-05 Thread jgl...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jesse Glick updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-38052  
 
 
  Pipeline parallel map not supporting curried closures   
 

  
 
 
 
 

 
Change By: 
 Jesse Glick  
 
 
Component/s: 
 workflow-cps-plugin  
 
 
Component/s: 
 pipeline  
 

  
 
 
 
 

 
 
 

 
 
 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-38052) Pipeline parallel map not supporting curried closures

2016-09-30 Thread jacob.kel...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jacob Keller commented on  JENKINS-38052  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Pipeline parallel map not supporting curried closures   
 

  
 
 
 
 

 
 I think this is similar to https://issues.jenkins-ci.org/browse/JENKINS-38268 and doesn't require use of curried closures, but just closures within parallel in general.  
 

  
 
 
 
 

 
 
 

 
 
 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-38052) Pipeline parallel map not supporting curried closures

2016-09-08 Thread benfort...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ben Fortuna commented on  JENKINS-38052  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Pipeline parallel map not supporting curried closures   
 

  
 
 
 
 

 
 Also note that the equivalent script run in the Script Console works as expected: 

 

def example_c = { input -> println "$input" }
def map = [:]
map['spam'] = example_c.curry('spam')
map['eggs'] = example_c.curry('eggs')
map.keySet().each { key ->
  map[key]()
}
 

 Result 

 

spam
eggs
Result: [spam, eggs]
 

  
 

  
 
 
 
 

 
 
 

 
 
 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-38052) Pipeline parallel map not supporting curried closures

2016-09-07 Thread benfort...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ben Fortuna updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-38052  
 
 
  Pipeline parallel map not supporting curried closures   
 

  
 
 
 
 

 
Change By: 
 Ben Fortuna  
 
 
Priority: 
 Minor Major  
 

  
 
 
 
 

 
 
 

 
 
 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-38052) Pipeline parallel map not supporting curried closures

2016-09-07 Thread benfort...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ben Fortuna updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-38052  
 
 
  Pipeline parallel map not supporting curried closures   
 

  
 
 
 
 

 
Change By: 
 Ben Fortuna  
 

  
 
 
 
 

 
 When executing a curried closure in parallel the output appears to be cached (see the output for the spam branch below).Example pipeline: {code} def example_c = { input -> node { echo "$input" } }def map = [:]map['spam'] = example_c.curry('spam')map['eggs'] = example_c.curry('eggs')parallel map {code}   Output: {code} [Pipeline] parallel[Pipeline] [spam] { (Branch: spam)[Pipeline] [eggs] { (Branch: eggs)[Pipeline] [spam] node[spam] Running on java8-jenkins-ec2-slave (i-a541b5be) [Pipeline] [eggs] node[Pipeline] [spam] {[eggs] Running on java8-jenkins-ec2-slave (i-a541b5be) [Pipeline] [spam] echo[spam] eggs[Pipeline] }[Pipeline] [eggs] {[Pipeline] // node[Pipeline] }[Pipeline] [eggs] echo[eggs] eggs[Pipeline] }[Pipeline] // node[Pipeline] }[Pipeline] // parallel[Pipeline] End of Pipeline {code}  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   
 

[JIRA] (JENKINS-38052) Pipeline parallel map not supporting curried closures

2016-09-07 Thread benfort...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ben Fortuna created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-38052  
 
 
  Pipeline parallel map not supporting curried closures   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Jesse Glick  
 
 
Components: 
 pipeline  
 
 
Created: 
 2016/Sep/08 5:51 AM  
 
 
Priority: 
  Minor  
 
 
Reporter: 
 Ben Fortuna  
 

  
 
 
 
 

 
 When executing a curried closure in parallel the output appears to be cached (see the output for the spam branch below). Example pipeline: def example_c = { input -> node  { echo "$input" }  } def map = [:] map['spam'] = example_c.curry('spam') map['eggs'] = example_c.curry('eggs') parallel map Output: [Pipeline] parallel [Pipeline] [spam] { (Branch: spam) [Pipeline] [eggs] { (Branch: eggs) [Pipeline] [spam] node [spam] Running on java8-jenkins-ec2-slave (i-a541b5be)  [Pipeline] [eggs] node [Pipeline] [spam]  { [eggs] Running on java8-jenkins-ec2-slave (i-a541b5be) [Pipeline] [spam] echo [spam] eggs [Pipeline] } [Pipeline] [eggs]  { [Pipeline] // node [Pipeline] } [Pipeline] [eggs] echo [eggs] eggs [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // parallel [Pipeline] End of Pipeline  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment