Skip to content

Commit

Permalink
jenkinsci#2 added a sample BuildConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
jstrachan committed Mar 16, 2016
1 parent 6cd145a commit d7e0b5c
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions src/test/resources/sampleBC.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
apiVersion: v1
kind: BuildConfig
metadata:
annotations:
#fabric8.link.jenkins.job/label: Job
creationTimestamp: null
labels:
project: cheese
name: edam
spec:
source:
git:
uri: http://gogs.vagrant.f8/gogsadmin/mydemo.git
secrets: []
type: Git
strategy:
type: ExternalStrategy
externalStrategy:
type: JenkinsPipeline
jenkinsPipelineStrategy:
jenkinsfile: |
node {
stage 'Stage 1'
sleep 10
echo 'Hello World 1'
stage 'Stage 2'
sleep 10
echo 'Hello World 2'
}

0 comments on commit d7e0b5c

Please sign in to comment.