Giter Site home page Giter Site logo

mabl-integration-plugin's Introduction

mabl logo

mabl Jenkins Plugin

Build Status

This plugin allows easy launching of mabl journeys as a step in your Jenkins build. Your Jenkins build outcome will be tied to that of your deployment event.

See official mabl plugin site for documentation.

Plugin Installation

Install the plugin into your Jenkins v1.580+ server from the Available Plugins tab by searing for "mabl".

Building from Source

  1. Clone this repo
  2. build with mvn clean package
  3. Copy the plugin in target/mabl-integration.hpi to your Jenkins plugins/ directory
  4. Restart Jenkins

You can also install the .hpi file from the web UI by visting Jenkins > Manage Jenkins > Manager Plugins > Advanced > Upload Plugin.

Creating a mabl Build Step

  1. Create or edit a Jenkins project
  2. Select Run mabl journeys from the Add build step drop down list
  3. Copy your API key, environment_id, and application_id from the API Settings Page
  4. Save and run your build

Local Development

Overview of how to launch a Jenkins Docker instance with Jenkins, then build the plugin and deploy it that instance.

# Launch Jenkins
docker run -d -p 9090:8080 --name=jenkins-master jenkins

# Setup your Jenkins instance

# Build and deploy plugin to Jenkins (make sure you're in the mabl-integration-plugin directory)
mvn clean package \
  && docker cp target/mabl-integration.hpi jenkins-master:/var/jenkins_home/ \
  && docker restart jenkins-master

Deployment

Before making a new plugin release, ensure code is in high quality, fully tested state. See extra checks.

  1. Update your ~/.m2/settings.xml according to the Jenkins docs.
  2. Setup and run a GitHub ssh agent.
  3. Run mvn release:prepare release:perform -B from the HEAD of master
  4. Run mvn deploy on sucess of above step.

Wait ~8 hours for plugin to become GA across all Jenkins instances under the "Available Plugins" listing.

mabl-integration-plugin's People

Contributors

amendelsohn avatar jbaldassari avatar mikedecosta avatar twistedpair 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.