Am newbie to Azure DevOps. Am using node build.js command to build my project. Using PublishBuildArtifacts Task I am able to publish artifacts and able to view the artifacts in build pipeline published artifacts.
I would like to deploy the copy of the published artifacts to the feed(feedname - deliverables).
Please suggest the task to be performed.
- task: PublishBuildArtifacts@1
inputs:
PathtoPublish: $(Build.ArtifactStagingDirectory)
ArtifactName: 'MapUtilities'
- script: Published Artifact Successfully!
displayName: 'Publish Artifact'
Based on your description, you need to publish the build artifacts to feed.
I suggest that you could use the task: Universal packages task
Here is an example:
- task: UniversalPackages@0
displayName: 'Universal publish'
inputs:
command: publish
vstsFeedPublish: 'feedname'
vstsFeedPackagePublish: test
versionOption: custom
versionPublish: 1.1.0
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.