mirror of
https://github.com/super-linter/super-linter.git
synced 2024-12-23 13:12:22 -05:00
ffccf2d49d
Fix #6371 npm-groovy-lint > 15.0.0 is impacted by: - https://github.com/nvuillam/npm-groovy-lint/issues/428 - https://github.com/nvuillam/npm-groovy-lint/issues/422
12 lines
268 B
Groovy
12 lines
268 B
Groovy
import groovy.text.*
|
|
import org.jenkinsci.plugins.pipeline.modeldefinition.Utils
|
|
|
|
@Library('somelib')
|
|
import com.mycorp.pipeline.somelib.Helper
|
|
|
|
int useSomeLib(Helper helper) {
|
|
helper.prepare()
|
|
return helper.count()
|
|
}
|
|
|
|
echo useSomeLib(new Helper('some text'))
|