Skip to content

Instantly share code, notes, and snippets.

View jstallm's full-sized avatar

jj jstallm

View GitHub Profile
@jstallm
jstallm / Jenkinsfile
Created August 10, 2017 16:49 — forked from abayer/Jenkinsfile
An example Declarative Pipeline Jenkinsfile for Feb 15 2017 demo
// A Declarative Pipeline is defined within a 'pipeline' block.
pipeline {
// agent defines where the pipeline will run.
agent {
// This also could have been 'agent any' - that has the same meaning.
label ""
// Other possible built-in agent types are 'agent none', for not running the
// top-level on any agent (which results in you needing to specify agents on
// each stage and do explicit checkouts of scm in those stages), 'docker',