Coder Social home page Coder Social logo

gitlabbin / openshift-jenkins-customization Goto Github PK

View Code? Open in Web Editor NEW

This project forked from godleon/openshift-jenkins-customization

0.0 2.0 0.0 12 KB

This repository is used for customize Jenkins for daily DevOps tasks needed.

License: MIT License

openshift-jenkins-customization's Introduction

Preface

This repository is used for customize Jenkins for daily DevOps tasks needed.

Customization

Plugins

Please refer to the source code for detail additionally installed plugin list.

Script Approvals

Please refer to the source code for pre-approved script list.

Usage

1. Build new Jenkins image

Before executing commands below, you need to use 'oc' to log into OpenShift platform at first.

# Get source code
$ git clone https://github.com/godleon/openshift-jenkins-customization.git

# Create Jenkins Image Stream & Build for rebuilding Jenkins Image
$ oc create -f openshift-jenkins-customization/openshift-objects/

# Start build job
$ oc -n openshift start-build custom-jenkins-build

# Check pod status of build job
$ oc -n openshift get pods
NAME                           READY     STATUS      RESTARTS   AGE
custom-jenkins-build-1-build   0/1       Completed   0          22m

# Check build log
$ oc -n openshift logs -f custom-jenkins-build-1-build

2. Modify Jenkins template

Modify jenkins-ephemeral template in openshift namespace for global usage:

$ oc edit template/jenkins-ephemeral -n openshift

Then, change the JENKINS_IMAGE_STREAM_TAG in parameters section from jenkins:latest to custom-jenkins-2-centos7:latest.

You are good to go now.

References

openshift-jenkins-customization's People

Contributors

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