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
}
in the pipeline job, execute this method
@Library('deliveryLib')
@NonCPS
import company.misc.findLoop
stage('find') {
node('build')
}
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?