Giter Site home page Giter Site logo

jenkins-integration-portlet's Introduction

Jenkins Integration Portlet

Motivation

More and more often, development teams adopt Continuous Integration as a good practice within development processes, and team members need to watch the results of its current work.

Jenkins is an open source continuous integration tool perfect for this goal, so many and many teams are using it as their preferred CI server.

As Jenkins provides many metrics by itself, I've decided to start a Liferay + AlloyUI + Jenkins integration portlet that allows to display tests results in an easy and portal-deployable way. For that, a Liferay portal Admin, can deploy this portlet in his portal, allowing its users to watch last builds tests results, in an user-friendly style, using AlloyUI built-in cappabilities.

Below there are some screenshots of the current portlet, contributed by my UX friend @jhidalgoreina, thank you very much!:

Configuration

There is a properties files under 'docroot/WEB-INF/src' named portlet.properties. This file contains some properties with empty values for connecting to your Jenkins server, even if it is under a web server with Basic Authentication. You can extend that file with the -ext name convention, creating a portlet-ext.properties, where you will put custom values for your application, using a Base64 encoding for your password.

v.1.2.0

  • Supports a new different display mode: jobs stack, where you can define multiple jobs that will be displayed in a stack, ordered by last build status
  • Each portlet instance holds its basic authentication, because the portlet could be configured to be connected to different systems
  • Supports processing job names by a custom processor: i.e. removing dashes from job names
  • Fix minor bugs

v.1.1.0

  • Supports two different display modes: default (as before), and a new one as a traffic light: red/green status depending of last build status

v.1.0.0

  • Supports Basic Http Authentication
  • Job name is configurable
  • Maximum number of builds to display is configurable
  • Chart types: dotted (default) and columns
  • Supports stacked representation of data
  • Supports displaying several build outputs: Passed tests count, Skipped tests count, Failed tests count and Total tests count

License

This library, "Jenkins Integration Portlet", is free software ("Licensed Software"); you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; including but not limited to, the implied warranty of MERCHANTABILITY, NONINFRINGEMENT, or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

jenkins-integration-portlet's People

Contributors

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