Skip to content

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

Notifications You must be signed in to change notification settings

gargpriyank/jenkins-library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages