rht-labs / labs-ci-cd

👻UNMAINTAINED - A collection of Red Hat Open Innovation Labs CI/CD components
Apache License 2.0
101 stars 70 forks source link

Make disabling sonar more explicit #63

Closed mcanoy closed 6 years ago

mcanoy commented 6 years ago

Disabling sonar should be more specific. If the parameter DISABLE_SONAR appears in OpenShift template with no value Jenkins interprets the value as not null.

This PR changes that so that a deployment must explicitly set the DISABLE_SONAR to true for it to be disabled.

cc @oybed @sherl0cks