lib/mortar/command/illustrate.rb in mortar-0.15.6 vs lib/mortar/command/illustrate.rb in mortar-0.15.7
- old
+ new
@@ -55,10 +55,13 @@
git_ref = sync_code_with_cloud()
illustrate_id = nil
action("Starting illustrate") do
- illustrate_id = api.post_illustrate(project.name, pigscript.name, alias_name, skip_pruning, git_ref, :pig_version => pig_version.version, :parameters => pig_parameters).body["illustrate_id"]
+ illustrate_id = api.post_illustrate(project.name, pigscript.name, alias_name, skip_pruning, git_ref,
+ :pig_version => pig_version.version,
+ :project_script_path => pigscript.rel_path,
+ :parameters => pig_parameters).body["illustrate_id"]
end
illustrate_result = nil
display
ticking(polling_interval) do |ticks|