Closed romeara closed 4 years ago
Thinking about this more, optional may not be appropriate - the DSL already allows fallback (including to hard-coded, which could act as default). What should change is that the multi-module-library plug-in should default to something like "invalid-invalid" or similar.
This would be a non-backwards-compatible change in behavior
Currently, credential sets fail if referenced and not present. This can be an issue for configuration DSLs for third-party plug-ins which resist configuration at runtime for tasks (such as the bintray plug-in)
It would be useful to allow getting the credential OR a default, so regular builds cna run without the values set, and only the build steps which require valid values fail if unset