Let's use defaultsFor for the build tool rather than a big ecosystem like 'java'

This commit is contained in:
R. Tyler Croy 2017-12-13 16:32:42 -08:00
parent a31beb178a
commit 747456d7e4
No known key found for this signature in database
GPG Key ID: 1426C7DC3F51E16F
1 changed files with 3 additions and 3 deletions

View File

@ -4,8 +4,8 @@
def call(String platform) {
switch (platform) {
case 'java':
defaultsForJava()
case 'maven':
defaultsForMaven()
return
break
@ -15,7 +15,7 @@ def call(String platform) {
}
}
void defaultsForJava() {
void defaultsForMaven() {
pipeline {
agent none
stages {