This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Started by user admin | |
[Pipeline] node | |
Running on master in /Users/pwolf/.jenkins/workspace/pipeline tests/creds | |
[Pipeline] { | |
[Pipeline] withCredentials | |
[Pipeline] { | |
[Pipeline] withEnv | |
[Pipeline] { | |
[Pipeline] stage | |
[Pipeline] { (foo) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pipeline { | |
agent any | |
libraries { | |
lib('my-library@master') | |
} | |
stages { | |
stage("Test") { | |
steps { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pipeline { | |
agent any | |
stages { | |
stage("Create Dockerfile and Image") { | |
steps { | |
writeFile file: 'Dockerfile', text: '''FROM ubuntu | |
MAINTAINER Patrick Wolf <pwolf@cloudbees.com> | |
RUN echo "deb http://archive.ubuntu.com/ubuntu precise main universe" > /etc/apt/sources.list | |
RUN apt-get update |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pipeline { | |
agent any | |
parameters { | |
string(defaultValue: '', description: 'The name of the organization working on this repository.', name: 'orgName') | |
} | |
stages{ | |
stage("Create Repo Piplines") { | |
steps { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
What do we want to cover for Declarative? | |
Release Announcement | |
What is Declartive | |
plugin name | |
Why Declarative | |
Benefits of Pipeline - Everyone should Pipeline | |
Not everyone is a Groovy expert | |
What happens to "Pipeline" (Scripted still exists) | |
nothing | |
Details of Declartive |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//assuming that docker-gc is installed on the agent | |
pipeline { | |
agent { | |
label 'mylabel' | |
} | |
stages { | |
stage ("Build") { | |
agent { | |
dockerfile { |