Closed crorodriguezro closed 2 years ago
Hi! I'm trying to write the output of updateSql to a file. But the file is not being generated. My config looks like this:
liquibase { activities { all { arguments["changeLogFile"] = "src/main/resources/db/dbchangelog-master.yaml" arguments["outputFile"] = "script.sql" }
register("local") { arguments["url"] = "jdbc:sqlserver://localhost:1433" arguments["username"] = "" arguments["password"] = "" arguments["outputFile"] = "script.sql" } }
}
Do you know what is the correct config? Thanks in advance
Try with arguments["outputFile"] = file("$buildDir/output/script.sql").absolutePath and check build/output/ folder in your project.
arguments["outputFile"] = file("$buildDir/output/script.sql").absolutePath
build/output/
I'll close it. Let me know if you need further help.
Hi! I'm trying to write the output of updateSql to a file. But the file is not being generated. My config looks like this:
liquibase { activities { all { arguments["changeLogFile"] = "src/main/resources/db/dbchangelog-master.yaml" arguments["outputFile"] = "script.sql" }
}
Do you know what is the correct config? Thanks in advance