add library def inside Jenkinsfile

This commit is contained in:
Nana Janashia
2020-11-08 17:25:26 +01:00
parent 922c8df4c6
commit 6b1d998791

9
Jenkinsfile vendored
View File

@@ -1,6 +1,13 @@
#!/usr/bin/env groovy #!/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 def gv
pipeline { pipeline {