Related to last checkin, need to create the directory when writing the yamlthe first time after an ant clean.
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@5127 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
23578b7402
commit
e19b5d17b4
|
|
@ -135,7 +135,9 @@ class FullCallingPipelineTest {
|
|||
}
|
||||
|
||||
private def writeYaml(testName: String, pipeline: Pipeline) = {
|
||||
val yamlFile = new File(PipelineTest.runDir(testName), pipeline.getProject.getName + ".yaml")
|
||||
val runDir = PipelineTest.runDir(testName)
|
||||
new File(runDir).mkdirs
|
||||
val yamlFile = new File(runDir, pipeline.getProject.getName + ".yaml")
|
||||
YamlUtils.dump(pipeline, yamlFile)
|
||||
yamlFile
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue