Skip to content

edgexfoundry/edgex-global-pipelines

Repository files navigation

edgex-global-pipelines

Build Status GitHub Latest Dev Tag) GitHub Latest Stable Tag) GitHub License GitHub Pull Requests GitHub Contributors GitHub Committers GitHub Commit Activity

About

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/

Documentation

For more detailed documentation and tutorials visit the EdgeX Global Pipelines Documentation Page

How to use

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,
        ]]]
    )
) _