Giter Club home page Giter Club logo

jcasc-katas's Introduction

Jenkins Configuration As Code Katas

Prerequisites

In order for you do do these katas, you need to have a linux box. The following tools should be installed:

  • Docker-compose
  • Docker
  • Git

Open the exercises in Cloud Shell

Natural order

  1. Setup Jenkins
  2. Installing plugins
  3. Basic system configuration
  4. Configuring plugins
  5. Build agents
  6. Jobs
  7. Integrate ssh to the pipeline

If you want to preserve your work, then it's recommended to fork this repository.

Resources

Snippets for different plugins https://github.com/jenkinsci/configuration-as-code-plugin/tree/master/demos

Getting started: https://github.com/jenkinsci/configuration-as-code-plugin/blob/master/README.md#getting-started

Schema reference can be found on <Jenkins_URL>/configuration-as-code/reference

jcasc-katas's People

Contributors

atombrella avatar bicschneider avatar ewelinawilkosz avatar figaw avatar kvarak avatar pal-pq avatar sofusalbertsen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

jcasc-katas's Issues

Plugins are all latest-version

Pros: we can keep installing plugins, as old versions might disappear.

Cons: the exercises might not "keep working" on the new versions of the plugins.

Describe jenkins.yml

For the basic exercise, perhaps also $JENKINS_HOME/jenkins.yml could be mentioned as an alternative to mounting a casc-config directory in $JENKINS_HOME.

stacktrace is no longer shown in Jenkins

In 1. basic system configuration, you are supposed to make JCasC fail uppon reload.
In older versions of Jenkins, the stacktrace was just below the the error, now you will get something like this:
A problem occurred while processing the request.

Logging ID=e07a2e33-21af-4148-ba43-4842c5932758

Task: change the description to add the following:
Guide people into Jenkins -> System Log to see the error.

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.