Code Monkey home page Code Monkey logo

deploydb-jenkins-plugin's Introduction

DeployDB Plugin for Jenkins

Build Status

Triggers builds based on incoming DeployDB webhooks, and reports the results back to DeployDB.

Webhook configuration

Your DeployDB installation should be configured to send all webhook events to $JENKINS_BASE_URL/deploydb/trigger

Jenkins should be configured with the base URL to your DeployDB instance, so that it knows where build results should be reported to: Manage Jenkins โ†’ Configure System โ†’ DeployDB.

Development

This plugin is built with the Jenkins Gradle plugin.

To start an instance of Jenkins at http://localhost:8080/ with the plugin installed:
./gradlew server

To run the test cases:
./gradlew test

To build the plugin, ready for installation into Jenkins:
./gradlew jpi

The plugin will be written to build/libs/deploydb-jenkins.hpi.

Release

One-time preparation

  • You must have a Jenkins account
  • Add your credentials to ~/.jenkins-ci.org in the following form:
userName=...
password=...

For each release

To publish a plugin update to the Jenkins update centre:

  • Update the top-level version property in build.gradle
  • Commit: git commit -am "Preparing for release ${VERSION}."
  • Tag: git tag deploydb-jenkins-plugin-${VERSION}
  • Push: git push && git push --tags
  • Release: ./gradlew clean publish

Assuming the Gradle build went well, you can confirm here that the release was uploaded correctly: http://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/deploydb/

The plugin update should appear in the Jenkins update centre within four to eight hours.

deploydb-jenkins-plugin's People

Contributors

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