I try to create directory using groovy.
But then i run this nothing happened.
Can't figure it out that's is wrong in this code?
def nametest = "try"
def patchPath = "/D/Test"
def fileName = patchPath + "/" + nametest
println fileName
if (!(new File(fileName)).exists()) {
(new File(fileName)).mkdir()
}