summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn McCrae <john.mccrae@progress.com>2022-10-30 12:38:16 +0600
committerJohn McCrae <john.mccrae@progress.com>2022-10-30 12:38:16 +0600
commit3762aa6a0fedb8e98a6fb9970e39ff1b32490972 (patch)
tree4aebbc0137b8842ff8fe46ca6664d43fd6780680
parentd51e309a25fa6fb7983ab82f8aff5cd03311903d (diff)
downloadchef-3762aa6a0fedb8e98a6fb9970e39ff1b32490972.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.ps17
1 files changed, 4 insertions, 3 deletions
diff --git a/habitat/plan.ps1 b/habitat/plan.ps1
index 8d71e23b53..6e7b98d53f 100644
--- a/habitat/plan.ps1
+++ b/habitat/plan.ps1
@@ -59,9 +59,10 @@ function Invoke-Download() {
# # Get-Command "Git"
Write-Output "Hab source path is : ${HAB_CACHE_SRC_PATH}`n"
Write-Output "Package Filename is : ${pkg_filename}"
- Write-Output "Dumping Env Variables :`n"
- dir env:
- [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 "getting Variables now`n"
+ Get-Variable
+ $command = "c:\\Program` Files\\Git\\cmd\\git.exe archive --format=zip --output=$(${HAB_CACHE_SRC_PATH} + "\\" + ${pkg_filename}) HEAD --verbose"
+ [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")
# Invoke-Expression -Command "$($full_git_path) archive --format=zip --output=${HAB_CACHE_SRC_PATH}\\${pkg_filename} HEAD --verbose"