Skip to content

Governance Tier

Governance Tiers are nodes in the Configuration Hierarchy.

This page explain the options to configure a Governance Tier.

Overview

Governance Tiers can store three important things: a Pipeline Catalog, a Pipeline Configuration, and a list of Library Sources.

The configuration for Library Sources stands alone. The configuration for the Pipeline Catalog and Pipeline Configuration are grouped together.

Library Sources

Governance Tiers can configure a list of Library Sources.

When adding a Library Source, there will be a dropdown to determine the type of Library Provider. A Library Provider is a retrieval mechanism for libraries.

JTE packages two types of Library Providers as part of the plugin: "From SCM" and "From Plugin."

Note

Users will only see the "From Plugin" option available in the dropdown if a plugin has been installed that's capable of providing libraries.

The ordering of Library Sources in the list impacts Library Resolution.

From Remote Repository

When configuring a Library Source that fetches from a remote repository, users can configure the type of source code repository as well as the configuration base directory.

The configuration base directory is the path within the remote repository where the libraries can be found.

Each subdirectory within the configuration base directory will be treated as a library.

Info

Refer to the Library Structure for how to organize files within a library directory.

Pipeline Catalog

Default Pipeline Template

Governance Tier Type Location of Default Pipeline Template
From a Remote Repository a Jenkinsfile at the root of the configuration base directory
From the Jenkins Console a dedicated text box labeled 'Default Template'

Named Pipeline Templates

Governance Tier Type Location of Named Pipeline Templates
From a Remote Repository groovy files within a pipeline_templates directory located at the root of the configuration base directory
From the Jenkins Console a list of named templates can be added directly in the Jenkins Console

Pipeline Configuration

Governance Tier Type Location of the Pipeline Configuration
From a Remote Repository a pipeline_config.groovy at the root of the configuration base directory
From the Jenkins Console a text field labeled Pipeline Configuration
Back to top