Jenkins - ilya-khadykin/notes-outdated GitHub Wiki

Jenkins is a highly acclaimed award-winning build and automation orchestration solution. It represents the cumulative efforts of hundreds of open-source developers, quality assurance engineers, and DevOps personnel worldwide.

Features:

  • Intuitive user interface
  • Robust plugin library
  • Scheduled or triggered builds
  • Distributed builds across multiple machines
  • Build notifications and status monitoring
  • Security model to limit permissions

Jenkins acts as engine interacting with third party software/tools using plugins

Running Jenkins

Docker Container

More info: https://github.com/jenkinsci/docker

docker run -p 8080:8080 -p 50000:50000 -d -v d:/jenkins:/var/jenkins_home jenkins/jenkins

Build and Job Statuses | Color Scheme

More details: https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/hudson/model/BallColor.java

public enum BallColor implements StatusIcon {
    RED("red",Messages._BallColor_Failed(), ColorPalette.RED),
    RED_ANIME("red_anime",Messages._BallColor_InProgress(), ColorPalette.RED),
    YELLOW("yellow",Messages._BallColor_Unstable(), ColorPalette.YELLOW),
    YELLOW_ANIME("yellow_anime",Messages._BallColor_InProgress(), ColorPalette.YELLOW),
    BLUE("blue",Messages._BallColor_Success(), ColorPalette.BLUE),
    BLUE_ANIME("blue_anime",Messages._BallColor_InProgress(), ColorPalette.BLUE),
    // for historical reasons they are called grey.
    GREY("grey",Messages._BallColor_Pending(), ColorPalette.GREY),
    GREY_ANIME("grey_anime",Messages._BallColor_InProgress(), ColorPalette.GREY),

    DISABLED("disabled",Messages._BallColor_Disabled(), ColorPalette.GREY),
    DISABLED_ANIME("disabled_anime",Messages._BallColor_InProgress(), ColorPalette.GREY),
    ABORTED("aborted",Messages._BallColor_Aborted(), ColorPalette.GREY),
    ABORTED_ANIME("aborted_anime",Messages._BallColor_InProgress(), ColorPalette.GREY),
    NOTBUILT("nobuilt",Messages._BallColor_NotBuilt(), ColorPalette.GREY),
    NOTBUILT_ANIME("nobuilt_anime",Messages._BallColor_InProgress(), ColorPalette.GREY),
    ;

References