Browse Source

Delete 05_01.md

05_01
Spencer Nicholls 4 years ago
committed by GitHub
parent
commit
a3ff655f71
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 39 deletions
  1. +0
    -39
      05_01.md

+ 0
- 39
05_01.md View File

@ -1,39 +0,0 @@
# Learning Jenkins, 05-01: Pipeline as Code
Create a pipeline job.
Paste the following code in the pipeline definition:
```
pipeline {
agent any
options {
buildDiscarder(logRotator(daysToKeepStr: '10', numToKeepStr: '10'))
timeout(time: 12, unit: 'HOURS')
timestamps()
}
triggers {
cron '@midnight'
}
stages {
stage('Initialize') {
steps {
echo 'Initializing..'
}
}
stage('Build') {
steps {
echo 'Building..'
}
}
stage('Test') {
steps {
echo 'Testing..'
}
}
stage('Deploy') {
steps {
echo 'Deploying....'
}
}
}
}
```

Loading…
Cancel
Save