Groovy web console

subscribe to the feed Subscribe
to this
site

xx

Published 3 weeks ago by tyt with tags xx
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
 def autoPromotions = [:]
                // Platinum dependency for release branches
                // All other promotions must be granted
                if (true) {
                    autoPromotions.put("PLATINUM", [
                            dependencies: [ "SILVER", "GOLD"],
                    ])
                }
System.out.println(autoPromotions);