Giter VIP home page Giter VIP logo

updatebot-plugin's Introduction

Updatebot Plugin

Build Status | Apache 2 | Wiki

UpdateBot is a bot which updates dependencies in source code via Pull Requests.

The Updatebot Jenkins Plugin provides an easy way to use UpdateBot inside yourJenkins Pipeline

Example

Here's an example of using the updateBotPush() step inside your pipeline:

node {

    stage('Release') { 
        git 'https://github.com/jstrachan-testing/updatebot-npm-sample.git'

        // TODO do the actual release first...
        
        // TODO wait for the release to be in maven central...
    }

    stage('UpdateBot') {
        // now lets update any dependent projects with this new release
        // using the local file system as the tagged source code with versions
        updateBotPush()
    }
}

The updateBotPush command then uses the UpdateBot Configuration mechanism to find which git repositories to perform pull requests on.

Typically this configured via a local .updatebot.yml file or if there is no .updatebot.yml file then UpdateBot will look for a github repository at https://github.com/organisation/organisation-updatebot/ where organisation is your actual github organisation name.

Requirements

To run UpdateBot on your projects your Jenkins master will need the following:

  • a Maven tool installation for working with Java/Maven based projects
  • a NodeJS tool installation for working with node based projects

The Maven or Node installations can be made inside the docker image for your Jenkins master if you prefer; then you don't have to use the tool installation mechanism in your Jenkins master.

updatebot-plugin's People

Contributors

jstrachan avatar rawlingsj avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  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.