GithubHelp home page GithubHelp logo

samrocketman / demo-jenkins-world-2017 Goto Github PK

View Code? Open in Web Editor NEW
20.0 6.0 9.0 71 KB

This repository is for a live demo of my Jenkins World 2017 presentation.

Home Page: http://sched.co/ALN9

License: Apache License 2.0

Shell 16.12% Groovy 40.55% HTML 43.33%
jenkins automation script-console bootstrap configuration-management

demo-jenkins-world-2017's Introduction

Mastering the Jenkins Script Console

This repository contains demo files of my presentation at Jenkins World 2017: Mastering the Jenkins Script Console.

Watch the video

This presentation was recorded and is available on YouTube.

Presentation Abstract

This interactive talk allows new users and seasoned experts alike to hone their skills in mastering the Jenkins Script Console. It is the most powerful interface Jenkins offers.

I will discuss steps users and admins can take in order to go about understanding how to interact with the Jenkins Script Console. The talk will involve:

  • The role the Script Console plays with the Jenkins configuration.
  • Recommendations on operationalizing a Jenkins installation for production use.
  • How the Script Console can be used to configure Jenkins settings live, on an instance.
  • Solid steps to take in order to get better at using the Script Console.
  • Share additional resources which allow one to grow at using the Script Console further.

Requirements

  • Mac OS X or Linux.
  • More than two CPU cores recommended.
  • More than 6GB of RAM recommended if running Jenkins.

Optional requirements:

Getting Started

  1. Bootstrap the demo.

    git clone --recursive https://github.com/samrocketman/demo-jenkins-world-2017
    cd demo-jenkins-world-2017/
    ./jenkins_bootstrap.sh
    
  2. Visit http://localhost:8080/ and follow along.

Common gradle tasks

The following tasks would be executed with ./gradlew TASK. List of common TASKs include:

  • clean - cleans the build directory and all bootstrap related files.
  • buildRpm - builds an RPM package for RHEL based Linux distros.
  • buildDeb - builds a DEB package for Debian based Linux distros.
  • packages - executes both buildRpm and buildDeb tasks.
  • getjenkins - Downloads jenkins.war to the current directory.
  • getplugins - Downloads Jenkins plugin HPI files to ./plugins.

Additional Instructions

Provision Jenkins via Vagrant

This repository optionally uses Vagrant. To bootstrap Jenkins simply run the following to start Jenkins.

vagrant up
export VAGRANT_JENKINS=1
./jenkins_bootstrap.sh

Visit http://localhost:8080/ to see Jenkins running. Clean up when you're finished with the following command.

vagrant destroy

Upgrade Jenkins and plugins

To upgrade Jenkins server and plugin versions do the following:

./jenkins_bootstrap.sh
./jenkins-bootstrap-shared/scripts/upgrade/upgrade_build_gradle.sh
git add -A && git commit -m 'jenkins upgraded'

Build an RPM package

./gradlew clean buildRpm

License

demo-jenkins-world-2017's People

Contributors

samrocketman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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