Code Monkey home page Code Monkey logo

jenkins-buildpack's Introduction

Jenkins buildpack for Cloud Foundry

Description

This is special buildpack to run jenkins inside Cloud Foundry from war file taken from the official site.

This buildpack intended to be just PoC, showing that the range applications that can be run of Cloud Foundry is very wide. You can get more details on how and why this buildpack was built in this blog post. You need to understand that Jenkins deployed to Cloud Foundry with this buildpack has a number of limitations, for instance it uses file system to store blobs and can't be scaled. This is why it should be additionally configured. For production grade deployments I would recomend to use jenkins boshreleas.

How to use

To run app with this buildpack you need do the following:

cf push jenkins-app-name -p jenkins.war -m 4G -b https://github.com/Altoros/jenkins-buildpack

Here are descriptions of each parameter:

  • jenkins-app-name is the name of application inside of Cloud Foundry.
  • -p <path> shows Cloud Foundry CLI where to take sources or binaries to run the app.
  • -m <memory-quota> stands for memory limit for the app, jenkins 2.0 with java 8 seems to require somrthing like 4Gb of memory for
  • -b <buildpack> sets what buildpack should be used to run this app; if you specify repo URL, CF will fetch it.

Jenkins 2.0+

If you deploy Jenkins 2.0+, it will automatically generate admin password that will be used for first enter. You can see a message with this password using following command:

cf logs jenkins-2-test --recent | grep -B 1 -A 2 "following password"

Each time you run your app in another container, this password will be changed.

Contribution and ideas

If you have any ideas that can be added, you can email me directly.

May CI be with you!

jenkins-buildpack's People

Watchers

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