[feature request] Support defaults in template fields #2255
Labels
area/config
kind/feature-request
priority/awaiting-more-evidence
Lowest Priority. May be useful, but there is not yet enough supporting evidence.
I'm looking for something like the following.
If
VERSION
env variable isn't set useUSERNAME
env variable otherwise uselatest
as the default for the image tag.This is for a developer workflow where Jenkins would set the
VERSION
but the developer on their machine would user their ownUSERNAME
as the image tag. And if the developer doesn't haveUSERNAME
variable (like on a Mac) it will fall back tolatest
The text was updated successfully, but these errors were encountered: