Skip to content

Instantly share code, notes, and snippets.

@mohanraj-r
Last active September 29, 2017 18:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mohanraj-r/3a56d329deab6b9a91c91b96867e0665 to your computer and use it in GitHub Desktop.
Save mohanraj-r/3a56d329deab6b9a91c91b96867e0665 to your computer and use it in GitHub Desktop.
[Jenkins] #spike

Docs

Tutorials

Books

Code samples

Golang

Linting

Benchmark

IDE config

Pipeline local test

Syntax

Sections

  • Stages
  • Steps
  • Post
    • cleanup

Directives

  • Stage
  • Agent
  • Triggers
    • build triggers
  • Options
    • pipeline options
  • Environment
    • env vars
  • Parameters
    • user defined build params
  • When
    • pre-condition for executing a stage

Steps

  • sh
    • executes a shell command
  • script
    • executes block of Groovy code
  • custom
    • operations exposed by Jenkins and plugins
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment