Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 441 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 441 Bytes

sd-jenkins-pipeline-library

Usage

Follow Extending with Shared Libraries guide to install the library into Jenkins. Named it as sd.

Pipeline example

@Library('sd')_

def kubeLabel = getKubeLabel()

pipeline {

    agent {
        kubernetes {
            label "${kubeLabel}"
            cloud 'Kube mwdevel'
            defaultContainer 'jnlp'
            ...