This repository was archived by the owner on Mar 16, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ phases:
3838 inputs :
3939 rootFolderOrFile : ' $(build.SourcesDirectory)/Tmp'
4040 archiveFile : ' $(Build.ArtifactStagingDirectory)/artifact.zip'
41+ includeRootFolder : false
4142
4243 - task : PublishBuildArtifacts@1
4344 displayName : ' Publish Artifact: drop'
@@ -47,7 +48,7 @@ phases:
4748 - powershell : |
4849 $username = $env:DeployUserName
4950 $password = $env:DeployPassword
50- $filePath = "$($env:Build.ArtifactStagingDirectory )/artifact.zip"
51+ $filePath = "$($env:Build_ArtifactStagingDirectory )/artifact.zip"
5152 $apiUrl = "https://$env:WebAppName.scm.azurewebsites.net/api/zipdeploy"
5253 echo "username : $username"
5354 echo "password : $password"
@@ -57,7 +58,7 @@ phases:
5758 - powershell : |
5859 $username = $env:DeployUserName
5960 $password = $env:DeployPassword
60- $filePath = "$($env:Build.ArtifactStagingDirectory )/artifact.zip"
61+ $filePath = "$($env:Build_ArtifactStagingDirectory )/artifact.zip"
6162 $apiUrl = "https://$env:WebAppName.scm.azurewebsites.net/api/zipdeploy"
6263 $base64AuthInfo = [Convert]::ToBase64String([Text.Encoding]::ASCII.GetBytes(("{0}:{1}" -f $username, $password)))
6364 $userAgent = "powershell/1.0"
You can’t perform that action at this time.
0 commit comments