Getting error below when trying to build a project that creates snapshots in Jenkins with the files provided by Toad Edge:
[build1] $ cmd.exe /C '""C:\Program Files\Java\jdk1.8.0_45/bin/java"' -jar '"C:\Program Files (x86)\Jenkins\workspace\build1\cli-dir/toadedge.jar"' -lib '"C:\Program Files (x86)\Jenkins\workspace\build1\cli-dir/lib"' -workspace '"/C:/Program Files (x86)/Jenkins/workspace/build1/workspace/"' -in '"/C:/Program Files (x86)/Jenkins/workspace/build1/INPUT7.xml"' -snapshot -database_system MYSQL -out '"/C:/Program Files (x86)/Jenkins/workspace/build1/TMP_OUTPUT7"' && exit %%ERRORLEVEL%%"
Encountered exception while parsing:
Unrecognized option: -database_system
usage: java -jar toadedge.jar [args...]
commands you can use:
-compare Compare two schemas (from database connections, file repositories or snapshots)
-report Generates a report from result of previous Compare build step
-sql_change Generate SQL change script from result of previous Compare build step
-sql_create Generate SQL create script from a database connection, file repository or a snapshot
-deploy Execute a script on a database
-snapshot Take a snapshot of a database preserving its structure in a JSON file
-baseline Take a baseline snapshot of a database, preserving its structure in a JSON file
See 'java -jar toadedge.jar -help ' to read about a specific command.
Copying C:\Program Files (x86)\Jenkins\workspace\build1\TMP_OUTPUT7 to C:\Users\testuser\Documents\Toad Edge\CI
FATAL: Failed to copy C:\Program Files (x86)\Jenkins\workspace\build1\TMP_OUTPUT7 to C:\Users\testuser\Documents\Toad Edge\CI
java.nio.file.AccessDeniedException: C:\Users\testuser\Documents\Toad Edge\CI
at sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
at sun.nio.fs.WindowsFileSystemProvider.newByteChannel(Unknown Source)
at java.nio.file.spi.FileSystemProvider.newOutputStream(Unknown Source)
at java.nio.file.Files.newOutputStream(Unknown Source)
at hudson.FilePath.write(FilePath.java:1888)
at hudson.FilePath.copyTo(FilePath.java:1998)
Caused: java.io.IOException: Failed to copy C:\Program Files (x86)\Jenkins\workspace\build1\TMP_OUTPUT7 to C:\Users\testuser\Documents\Toad Edge\CI
at hudson.FilePath.copyTo(FilePath.java:2002)
at ci.with.toad.edge.CreateSnapshotBuilder.copySnapshotToTargetLocation(CreateSnapshotBuilder.java:161)
at ci.with.toad.edge.CreateSnapshotBuilder.perform(CreateSnapshotBuilder.java:131)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744)
at hudson.model.Build$BuildExecution.build(Build.java:206)
at hudson.model.Build$BuildExecution.doRun(Build.java:163)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504)
at hudson.model.Run.execute(Run.java:1724)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:421)
Finished: FAILURE
Download again toadedge-ctl.jar file from the portal.
© 2025 Quest Software Inc. ALL RIGHTS RESERVED. 이용 약관 개인정보 보호정책 Cookie Preference Center