From e9733e2b46de18502ead9499082c9ca4ab279e88 Mon Sep 17 00:00:00 2001 From: Autumn Na Date: Sat, 23 Mar 2024 04:40:50 +0900 Subject: [PATCH] =?UTF-8?q?CSS-55=20[DevOps][=EC=8B=A0=EA=B7=9C]=20Google?= =?UTF-8?q?=20Drive=20=EC=97=85=EB=A1=9C=EB=93=9C=20=EB=B9=8C=EB=93=9C=20?= =?UTF-8?q?=EC=98=A4=EB=A5=98=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Jenkins/build.ps1 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Jenkins/build.ps1 b/Jenkins/build.ps1 index 113d3ed4c5..e968bee2a0 100644 --- a/Jenkins/build.ps1 +++ b/Jenkins/build.ps1 @@ -60,6 +60,9 @@ $SourceFile = $ZipPath # Get the source file contents and details, encode in base64 $SourceItem = Get-Item $SourceFile $SourceMime = [System.Web.MimeMapping]::GetMimeMapping($SourceItem.FullName) +$FileStream = New-Object System.IO.FileStream($SourceItem.FullName, [System.IO.FileMode]::Open) +$BinaryReader = New-Object System.IO.BinaryReader($FileStream) +$Base64Transform = New-Object System.Security.Cryptography.ToBase64Transform try { $BlockSize = $Base64Transform.InputBlockSize * 4