Skip to content

siddharthvipul/cico-shared-library

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CICO Shared Library

A Jenkins Pipeline Shared Library for use in CentOS CI Jenkins Masters

Installation

Ask your Jenkins administrator to add this as an implicitly loaded Global Shared Library (Manage Jenkins -> Configure System -> Global Pipeline Libraries)

Prerequisites

This set of shared libraries is meant to work in conjunction with a set of Openshift Images. These need to be built and available for pulling in all openshift namespaces.

Usage

Examples

The Fedora-tox runner:

This runner takes the project and runs tox for every released version of Fedora.

  1. Install the shared library into your jenkins master (if you're on a CentOS CI master, this is already done for you)
  2. Create a new Multibranch Pipeline job New Item -> Multibranch Pipeline Job
  3. Add a Github Branch Source Branch Sources -> Add source pointing at your repository, be sure to use Github API credentials
  4. Choose .cico.pipeline as the Build Configuration Script Path
  5. Add a .cico.pipeline file in the root of your repository with the following contents:
    fedoraInfraTox {}
    

Note: In vars/fedoraInfraTox.groovy, tag fedora:latest is used for fedora:rawhide image since the container file for python-tox fedora:rawhide lives under master branch of centosci/images/python-tox. Quay.io automatically tags master branch as master and latest.

Contributing

Pull-requests are welcome!

License

License

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Groovy 100.0%