Skip to content

Commit

Permalink
Document the quickstart pipeline example
Browse files Browse the repository at this point in the history
  • Loading branch information
sthaha authored Oct 2, 2018
1 parent d8b4a60 commit 229a896
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ osio {
ci {
// runs oc process
def resources = processTemplate(params: [
RELEASE_VERSION: "1.0.${env.BUILD_NUMBER}-PR" // indicate pull request
])
def resources = processTemplate()
// performs an s2i build
build resources: resources
Expand All @@ -26,8 +24,9 @@ osio {
cd {
// override the RELEASE_VERSION template parameter
def resources = processTemplate(params: [
RELEASE_VERSION: "1.0.${env.BUILD_NUMBER}"
RELEASE_VERSION: "1.0.${env.BUILD_NUMBER}"
])
build resources: resources
Expand Down

0 comments on commit 229a896

Please sign in to comment.