Skip to content

Commit

Permalink
removal of space param test removed too much
Browse files Browse the repository at this point in the history
  • Loading branch information
gabemontero committed Jun 6, 2019
1 parent 5fc10ff commit b34aa6c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions examples/jenkins-image-sample.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -145,15 +145,15 @@ void actualTest() {*/

// Process the modeled template. We could also pass JSON/YAML, a template name, or a url instead.
// note: -p option for oc process not in the oc version that we currently ship with openshift jenkins images
//def objectModels = openshift.process( template )//, "-p", "MEMORY_LIMIT=600Mi")
def objectModels = openshift.process( template )//, "-p", "MEMORY_LIMIT=600Mi")

// objectModels is a list of objects the template defined, modeled as Groovy objects
//echo "The template references ${objectModels.size()} objects"
echo "The template references ${objectModels.size()} objects"

// For fun, modify the objects that have been defined by processing the template
//for ( o in objectModels ) {
// o.metadata.labels[ "anotherlabel" ] = "anothervalue"
//}
for ( o in objectModels ) {
o.metadata.labels[ "anotherlabel" ] = "anothervalue"
}

def objects
def verb
Expand Down

0 comments on commit b34aa6c

Please sign in to comment.