else:
templates = "verify,merge,daily,distribution,integration,sonar"
templates += ",clm" # ensure we always create a clm job for all projects
-
-if cfg.get("AUTORELEASE"):
- templates += ",validate-autorelease"
+templates += ",validate-autorelease" # Autorelease validate template
##################
# Handle Streams #
for jdk in options["jdks"].split(","):
str_streams += " - %s\n" % jdk.strip()
+ # Disable autorelease validate job unless project is participating
+ # in autorelease, JJB does not allow flipping a boolean so we have to
+ # flip it here via not operator since the JJB configuration for disabling
+ # a Jenkins Job is "disabled: bool".
+ str_streams += " disable_autorelease: %s\n" % (not options.get(
+ "autorelease", False))
+
###############
# Handle JDKS #
###############