commit 7c64ae0418aee150bb415b088b1912269819313a
parent 0ccd83b19175504131593de584d571797ca0f381
Author: Andreas Gruhler <andreas.gruhler@adfinis.com>
Date: Tue, 4 Jun 2024 16:20:31 +0200
feat(jenkins): configure global library
https://github.com/jenkinsci/configuration-as-code-plugin/blob/master/demos/pipeline-groovy-lib/README.md
Diffstat:
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git a/hcl/default/jenkins/templates/jenkins.yaml.tmpl b/hcl/default/jenkins/templates/jenkins.yaml.tmpl
@@ -6,6 +6,14 @@ unclassified:
configuration:
vaultCredentialId: "vaultToken"
vaultUrl: "https://vault.in0rdr.ch"
+ globalLibraries:
+ libraries:
+ - name: "in0rdr-jenkins-lib"
+ retriever:
+ modernSCM:
+ scm:
+ git:
+ remote: "https://git.in0rdr.ch/jenkins-lib.git"
jenkins:
# https://github.com/jenkinsci/configuration-as-code-plugin/blob/master/demos/jenkins/jenkins.yaml
systemMessage: |