Added full staging folder for build artifact
3c4e428b
Adam Rush
committed
succeeded
2 changed files
Publish-AzDOArtifactFeed.ps1
/Build/Publish-AzDOArtifactFeed.ps1-1+1
/Build/Publish-AzDOArtifactFeed.ps1
Add comment 7 # Variables
Add comment 8 # $powershellGetVersion = '1.5.0.0' # DO NOT use the latest 1.6.0 version as there is issues with this process
Add comment 9 # $moduleFolderPath = 'C:\Users\adamr\code\PowerShellPipeline\Staging\PSvCloud' # only target folder, NOT the .psm1 or .psd1
Add comment 10 Minus  $moduleFolderPath = Join-Path -Path $env:SYSTEM_ARTIFACTSDIRECTORY -ChildPath "PowerShellPipeline\PSModule"
Add comment 10 Plus  $moduleFolderPath = Join-Path -Path $env:SYSTEM_ARTIFACTSDIRECTORY -ChildPath "PowerShellPipeline\PSModule\PSvCloud"
Add comment 11 $repositoryName = 'psmodules'
Add comment 12 $feedUsername = 'NotChecked'
Add comment 13 # $PAT = $env:ArtifactFeedPat
azure-pipelines.yml
/azure-pipelines.yml-1+1
/azure-pipelines.yml
Add comment 63 - task: PublishBuildArtifacts@1
Add comment 64 displayName: "Publish Artifact: PowerShell Module"
Add comment 65 inputs:
Add comment 66 Minus   PathtoPublish: Staging\PSvCloud
Add comment 66 Plus   PathtoPublish: Staging
Add comment 67 ArtifactName: PSModule
Add comment 68 condition: always()
Add comment 69