diff options
author | John McCrae <john.mccrae@progress.com> | 2022-10-30 12:50:58 +0600 |
---|---|---|
committer | John McCrae <john.mccrae@progress.com> | 2022-10-30 12:50:58 +0600 |
commit | 1d0b8ce46c3d56c73f249128cd859429de92826b (patch) | |
tree | 197a6b409dd7969b1231076dc43190ebd6ac569d | |
parent | 95783bc75954654e59bc8b3e1b6fb8802fc6a251 (diff) | |
download | chef-1d0b8ce46c3d56c73f249128cd859429de92826b.tar.gz |
Trying to get more detail on what is failing here
Signed-off-by: John McCrae <john.mccrae@progress.com>
-rw-r--r-- | habitat/plan.ps1 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/habitat/plan.ps1 b/habitat/plan.ps1 index 7c09481c4b..527bc5b7ad 100644 --- a/habitat/plan.ps1 +++ b/habitat/plan.ps1 @@ -65,7 +65,8 @@ function Invoke-Download() { Write-Output "Here's the path : $path" Write-Output "Here's the file : $file" $command = "c:\\Program` Files\\Git\\cmd\\git.exe archive --format=zip --output=$($path + "\\" + $file) HEAD --verbose" - Invoke-Expression "& $command" + Write-Output "Here's the whole command : $command" + Invoke-Expression "& $command" -Verbose -ErrorAction Stop # [System.Diagnostics.Process]::Start("c:\\Program` Files\\Git\\cmd\\git.exe archive --format=zip --output=$(${HAB_CACHE_SRC_PATH} + "\\" + ${pkg_filename}) HEAD --verbose") # Write-Output "Now archiving the repo" # [System.Diagnostics.Process]::Start("$full_git_path archive --format=zip --output=${HAB_CACHE_SRC_PATH}\\${pkg_filename} HEAD --verbose") |