Created
May 1, 2017 09:35
-
-
Save koko-rauch/9b5824ac5fda2ff35218228baed06a06 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def prepareTests(){ | |
def myMap = [ 'test1' : params.runTest1, 'test2' : params.runTest2 ] | |
def testsToRun = [] | |
for (test in myMap) { | |
if (test.value) { | |
testsToRun.add(test.key) | |
} | |
} | |
return testsToRun | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment