It seems to pick up the changes that I made to the template.json file after I cleaned up the whole setup and re-tried it.I think my only query now is how do I refresh the json file. If I make any changes to it i.e. add new environment variables or change them, how do I make those be used by the build process. I tried oc edit and oc process but they both did not seem to update the json file. Sorry if I missed this in the docs but couldnt find it as far as I can see.