add library def inside Jenkinsfile
This commit is contained in:
9
Jenkinsfile
vendored
9
Jenkinsfile
vendored
@@ -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