add library def inside Jenkinsfile
This commit is contained in:
1 parent
922c8df4c6
commit
6b1d998791
1 file changed
+8
-1
Vendored
+8
-1
@@ -1,6 +1,13 @@
|
||||
#!/usr/bin/env groovy
|
||||
|
||||
@Library('jenkins-shared-library')
|
||||
library identifier: 'jenkins-shared-library@master', retriever: modernSCM(
|
||||
[$class: 'GitSCMSource',
|
||||
remote: 'https://gitlab.com/nanuchi/jenkins-shared-library.git',
|
||||
credentials: 'gitlab-credentials'
|
||||
]
|
||||
)
|
||||
|
||||
|
||||
def gv
|
||||
|
||||
pipeline {
|
||||
|
||||
Reference in new issue
Block a user