From 6b1d998791b8f3e9497cf0c2b6c20c03d1a61e9a Mon Sep 17 00:00:00 2001 From: Nana Janashia Date: Sun, 8 Nov 2020 17:25:26 +0100 Subject: [PATCH] add library def inside Jenkinsfile --- Jenkinsfile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index b2b70a2..f72cc98 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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 {