mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-27 19:20:59 -05:00
13 lines
268 B
Groovy
13 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'))
|