diff options
author | John McCrae <john.mccrae@progress.com> | 2022-10-30 07:25:41 +0600 |
---|---|---|
committer | John McCrae <john.mccrae@progress.com> | 2022-10-30 07:25:41 +0600 |
commit | 5766d979d969f93c25d2f53fe91ee0dbe44d79df (patch) | |
tree | 7a0f4e9aee2fe602f0d0708bd10e912e39148c98 | |
parent | f19091e76396295262a310766faebbf07bbc12b8 (diff) | |
download | chef-5766d979d969f93c25d2f53fe91ee0dbe44d79df.tar.gz |
What are the build variables in the git command?
Signed-off-by: John McCrae <john.mccrae@progress.com>
-rw-r--r-- | habitat/plan.ps1 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/habitat/plan.ps1 b/habitat/plan.ps1 index aa8e24044c..786be59129 100644 --- a/habitat/plan.ps1 +++ b/habitat/plan.ps1 @@ -47,6 +47,10 @@ function Invoke-Download() { $env:Path = $git_path + ";" + [System.Environment]::GetEnvironmentVariable("Path", "Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path", "User") try { Push-Location (Resolve-Path "$PLAN_CONTEXT/../").Path + Write-Output " *** Debugging Git Archive *** `n" + Get-Command "Git" + Write-Output "Hab source path is : ${HAB_CACHE_SRC_PATH}`n" + Write-Output "Package Filename is : ${pkg_filename}" # [System.Diagnostics.Process]::Start("git archive --format=zip --output=${HAB_CACHE_SRC_PATH}\\${pkg_filename} HEAD") Invoke-Expression -Command "git archive --format=zip --output=${HAB_CACHE_SRC_PATH}\\${pkg_filename} HEAD --verbose" Start-Sleep -Seconds 30 |