Giter Club home page Giter Club logo

build-jenkins-modules's Introduction

Introduction

This script will create RPM files for each jenkins plugin defined in the jenkins-plugins file.

Description

The RPMs are generated with the help of fpm. Each plugin rpm depends on jenkins. If a specific version is set in the manifest file, the dependency on jenkins is added as 'jenkins >= VERSION'.

Other plugin Dependencies found in the manifest file are also added as rpm deps too.

Sources

The script will attempt to get the hpi file from the jenkins updates server. In cases that this does not work, create a folder 'manual' and place the {name}.hpi file in there, the script will then use that file in stead of attempting to wget it.

jenkins-plugins-rpm File Format

Each line defined a plugin to build using the script. Arguments on each line are separated by a colon (:).

  • The first argument is mandatory and is the plugin name.
  • The second argument defines a specific version to be build and is optional. If left empty, the latest version will be installed.
  • The third argument defines additional rpm dependencies. Add them as you would in a rpm spec file and seperate them with a comma (,).

The resulting rpm filename will be jenkins-plugin-PLUGINNAME-version-....

RPM Installation

You can either add the rpms to your local repository or install them manually.

Note: You will have to restart jenkins after installing a rpm to make the new plugins working.

build-jenkins-modules's People

Contributors

roidelapluie avatar vstone avatar

Watchers

 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.