[JIRA] (JENKINS-39855) find/findall does not work in the pipeline sharedlibrary
Title: Message Title Paul Sharpe edited a comment on JENKINS-39855 Re: find/findall does not work in the pipeline sharedlibrary I just came across this same issue today! (Jenkins 2.7.2) .findAll returns a Boolean value rather than a list!?I ran the same script in groovy console with no issues. 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-39855) find/findall does not work in the pipeline sharedlibrary
Title: Message Title Paul Sharpe edited a comment on JENKINS-39855 Re: find/findall does not work in the pipeline sharedlibrary I just came across this same issue today! (Jenkins 2.7.2) 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-39855) find/findall does not work in the pipeline sharedlibrary
Title: Message Title Paul Sharpe commented on JENKINS-39855 Re: find/findall does not work in the pipeline sharedlibrary I just came across this same issue today! 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-39855) find/findall does not work in the pipeline sharedlibrary
Title: Message Title Wen Zhou created an issue Jenkins / JENKINS-39855 find/findall does not work in the pipeline sharedlibrary Issue Type: Bug Assignee: Unassigned Components: pipeline Created: 2016/Nov/18 7:08 AM Environment: Jenkins ver. 2.7.4 Labels: pipeline Priority: Minor Reporter: Wen Zhou a very simple groovy method calling find/findall() in deliveryLib public def lookAtMe() { def list = [5, 10, 15, 20, 25, 30] def result = list.findAll {it -> it > 10 } } in the pipeline job, execute this method @Library('deliveryLib') @NonCPS import company.misc.findLoop stage('find') { node('build') { def obj = new findLoop(this) obj.lookAtMe() } } result: return false Found a similar issue #26300, but marked as "resolved" Anyone still have the same problem in jenkins 2.0 or it is only me? Add Comment