Giter VIP home page Giter VIP logo

jenkinstracking_test's Introduction

Puppet Jenkins tracking module

Jenkins has this concept of "artifact fingerprinting" where a build might say "archive foo.war as an artifact" and "keep fingerprints of my build artifacts".

In a continuous deployment/delivery case where a build artifact (say foo.war) might be passed from build to build in Jenkins, Jenkins will in fact track that file's progression through a pipeline. If one were to then deploy that file with Puppet, there would be no record of when/where that file is deployed, as it happens outside Jenkins.

The track resource basically generates data for a Puppet report containing the md5 of the tracked file, such that it can be reported back to Jenkins so Jenkins can display which files went to what machines, and when, for a complete build and delivery pipeline.

class foo {
    ... other puppet resources that produce foo.war ...

    track { '/var/lib/foo.war':
    }
}

In the above example, the track resource captues the fingerprint of /var/lib/foo.war (which presumably is produced by other puppet resources). Note that file resources are automatically tracked, so track is only necessary where a file is produced by unusual means, such as unzipping an archive in an exec resource, a file installed through package installation, etc.

See deployment notification plugin and puppet plugin for how these things work together.

This module is being considered for an inclusion into the puppet-jenkins module.

jenkinstracking_test's People

Contributors

kohsuke avatar sseebald avatar

Watchers

James Cloos 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.