1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-12 10:55:20 +02:00
sap-jenkins-library/test/groovy/util/SharedLibraryCreator.groovy
Marcus Holl 998abed377 Switch library identifier to piper-library-os
this identifier is commonly used.
2018-01-15 15:06:02 +01:00

25 lines
660 B
Groovy

package util
import static com.lesfurets.jenkins.unit.global.lib.LibraryConfiguration.library
class SharedLibraryCreator {
static def lazyLoadedLibrary = library()
.name('piper-library-os')
.retriever(new ProjectSource())
.targetPath('is/not/necessary')
.defaultVersion("master")
.allowOverride(true)
.implicit(false)
.build()
static def implicitLoadedLibrary = library()
.name('piper-library-os')
.retriever(new ProjectSource())
.targetPath('is/not/necessary')
.defaultVersion("master")
.allowOverride(true)
.implicit(true)
.build()
}