This repository contains useful Jenkins global library functions used within the EdgeX Jenkins build pipeline here: https://jenkins.edgexfoundry.org. You can learm more about Jenkins global libraries here: https://jenkins.io/doc/book/pipeline/shared-libraries/
For more detailed documentation and tutorials visit the EdgeX Global Pipelines Documentation Page
You can include this library by configuring your Jenkins instance on the /configure screen. Or you can load the library dynamically by using this code:
library(identifier: 'edgex-global-pipelines@main',
retriever: legacySCM([
$class: 'GitSCM',
userRemoteConfigs: [[url: 'https://github.com/edgexfoundry-holding/edgex-global-pipelines.git']],
branches: [[name: '*/main']],
doGenerateSubmoduleConfigurations: false,
extensions: [[
$class: 'SubmoduleOption',
recursiveSubmodules: true,
]]]
)
) _