openshift-roadshow / parksmap-web

This is the web and service gateway component. It's implemented in SpringBoot
Apache License 2.0
46 stars 119 forks source link

Add Jenkinsfile and pipeline template #4

Closed csrwng closed 7 years ago

csrwng commented 7 years ago

Adds an example Jenkinsfile and corresponding templates. Enables a PR build flow with the Github Organization plugin from Jenkins.

Also included a small bug fix in BackendsController.java - in some cases the order of init matters.

csrwng commented 7 years ago

@jorgemoralespou @bparees ptal

csrwng commented 7 years ago

Just another note ... the pipeline submitted here, in nationalparks, and mlbparks, is the exact same, except for the values defined at the top. At some point when we can pass parameters to pipelines, the pipeline could be the same thing across repos and it's simply parameterized.

csrwng commented 7 years ago

comments addressed (and updated in the other repos as well)

csrwng commented 7 years ago

@jorgemoralespou thx for the review, comments addressed so far (also similar changes submitted to the other repos)