Skip to content

Instantly share code, notes, and snippets.

@sergebug
Created June 10, 2015 21:12
Show Gist options
  • Save sergebug/335d493531fc5438ef18 to your computer and use it in GitHub Desktop.
Save sergebug/335d493531fc5438ef18 to your computer and use it in GitHub Desktop.
Jenkins Groovy Axis snippet to generate AXIS based on the FitNesse suite names
def dir = new File('c:\\tools\\FitNesse\\FitNesseRoot\\AcceptanceTests')
def result = []
dir.eachFile {
if ((it.isDirectory())&&!(it.name.contains("SetUp"))) {
result << it.name
}
}
return result
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment