Git Product home page Git Product logo

template-project-plugin's Introduction

template-project-plugin

The aim of this plugin is to be able to use builders, publishers and SCM settings from another project.

More documentation available on the Jenkins wiki: https://wiki.jenkins-ci.org/display/JENKINS/Template+Project+Plugin https://issues.jenkins-ci.org/browse/JENKINS/component/15623/

Setup

  • Set up a template project that has all the settings you want to share. E.g. you could create one with no SCM filled in, but with all the builders and publishers you want for all your projects. Its best to mark this project as disabled, since you are not actually going to run it.
  • Then set up a concrete project. Configure the SCM as you want. Then select 'use all the publishers from this project' and pick the template project. Ditto for the builders.

Limitations

  • General:
    • It may be using some plugins in ways that were not intended. Compatibility with all plugins is not guaranteed.
  • It does not support project actions. That means that links that should be on the project page (e.g. 'latest test results') will not be there.
  • Publishers:
    • Post-build publishers need to be 'self-contained', meaning they may not work if a publisher relies on configs in the template project.
  • SCM:
    • Only supports build variables (not environment variables) as gets into infinite loop using getEnvironment() since it loops back to getScm().buildEnvVars().
  • It has had virtually no testing.

template-project-plugin's People

Contributors

brantone avatar alanharder avatar ndeloof avatar levsa avatar ctapobep avatar huybrechts avatar inky84 avatar williambernardet avatar jglick avatar snowman78 avatar vb-linetco avatar

Watchers

James Cloos 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.