GithubHelp home page GithubHelp logo

jenkins-shared-pipelines's Introduction

Jenkins DevOps Shared Libraries

A collection of Jenkins Pipeline shared libraries for common DevOps software. Usage and dependencies for each can be found in the documentation.

Unsure how to use these in your declarative syntax Jenkinsfile? Check the declarative Jenkinsfile shared library documentation.

Additionally, you can pare down the libraries available from this repo and then load those in yourself from your own git repo or otherwise.

Retrieve and use with Disabled Sandbox

Basically, if you have the GitHub Branch Source plugin installed, then you can load a specific version like:

@Library('github.com/mschuchard/jenkins-devops-libs@version')

If you do not have this plugin installed, or want more flexibility over the version used, then you can use or expand upon this class:

library identifier: 'jenkins-devops-libs@master', retriever: modernSCM(
  [$class: 'GitSCMSource',
   remote: 'https://github.com/mschuchard/jenkins-devops-libs.git'])

Note that this latter example is also useful for circumventing Github API rate limit issues.

Use with Enabled Sandbox

Basically, you need to first add the shared library in the Jenkins global configuration. Then, you can either load the library's methods with:

@Library('jenkins-devops-libs@version')_

or using the defaults with:

library('jenkins-devops-libs')

Supported

  • Goss
  • Helm
  • OpenFaaS
  • Packer
  • Terraform

Contributing

Code should pass all acceptance tests. New features should involve new acceptance tests.

Please consult the GitHub Project for the current development roadmap.

095b8ab (shared libreries doc)

jenkins-shared-pipelines's People

Contributors

amine95bz avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.