Skip to content

Latest commit

 

History

26 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Jenkins Library

Generic pipeline functions to be used in Jenkins pipelines. All the functions are available in form of groovy files in vars folder.

How to use

  1. Add this library in Jenkins client tool as a global library (Manage Jenkins > Configure System > Global Pipeline Libraries) and give it a name, for example, my-jenkins-library.

  2. Add the following at the top of the Jenkins pipeline.

@Library('my-jenkins-library') _
  1. Call the Jenkins Library function from the Jenkins pipeline.
stage('mystage') {
    steps {
        buildJarMaven(mvnArgs: '-DskipTests')
    }
}

About

This project contains the groovy script functions for Jenkins CI and CD pipelines.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages