Skip to content

Commit

Permalink
Fix back-slashes in Azure pipeline build
Browse files Browse the repository at this point in the history
  • Loading branch information
duracellko committed Dec 28, 2018
1 parent 79cfbb5 commit 2a40888
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions azure-pipelines/azure-pipelines-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,30 +107,30 @@ jobs:
displayName: Zip web
inputs:
archiveType: zip
archiveFile: $(Build.StagingDirectory)\web\web.zip
rootFolderOrFile: $(Build.SourcesDirectory)\Build\web\$(BuildConfiguration)\netcoreapp2.1\publish
archiveFile: $(Build.StagingDirectory)/web/web.zip
rootFolderOrFile: $(Build.SourcesDirectory)/Build/web/$(BuildConfiguration)/netcoreapp2.1/publish
includeRootFolder: false
replaceExistingArchive: true
condition: and(succeeded(), eq(variables['PublishArtifacts'], 'true'))

- task: PublishBuildArtifacts@1
displayName: 'Publish artifact: web'
inputs:
PathtoPublish: $(Build.StagingDirectory)\web
PathtoPublish: $(Build.StagingDirectory)/web
ArtifactName: web
condition: and(succeeded(), eq(variables['PublishArtifacts'], 'true'))

- task: CopyFiles@2
displayName: Copy screenshots
inputs:
SourceFolder: $(Build.SourcesDirectory)\Build\bin\$(BuildConfiguration)\netcoreapp2.1\Screenshots
TargetFolder: $(Build.Build.StagingDirectory)\screenshots
SourceFolder: $(Build.SourcesDirectory)/Build/bin/$(BuildConfiguration)/netcoreapp2.1/Screenshots
TargetFolder: $(Build.Build.StagingDirectory)/screenshots
CleanTargetFolder: true
condition: and(succeeded(), eq(variables['RunEnd2EndTests'], 'true'))

- task: PublishBuildArtifacts@1
displayName: 'Publish artifact: screenshots'
inputs:
PathtoPublish: $(Build.Build.StagingDirectory)\screenshots
PathtoPublish: $(Build.Build.StagingDirectory)/screenshots
ArtifactName: screenshots
condition: and(succeeded(), eq(variables['RunEnd2EndTests'], 'true'))

0 comments on commit 2a40888

Please sign in to comment.