Manage Azure Artifacts N Package Manager
Devops > Artifacts (Last Link) > Click “Create a feed”
- Choose Organization, - want to share feed with other project in same organization
- Specific People- if you want to share with specific people
Select your feed
Package and push our existing packages on to above feed
DevOps > Create a new build pipeline
Created Pipeline will be some thing like
- Give Assembly Name
- Remove 2 Assembly Task
- Upgrade NuGet Package to 6.0.0
Task Changes
Task 1: download all NuGet 6.0
Task 2: Restore- This time restore and to push it to my own private feed.
- Add a New Task of Nuget after Build Task - For Package
- Package is basically it will look for my project file.
- Clone newly added task - and let me do a push. After Packing we have to push
- We are filtering .NuGet package files.
- There is a ! sight, we are ignoring dot symbol package and the target feed is PracticeFeed01.
Give Permission - Handle if pushing failed due to access issue
- Give necessary Permission or Role
- Open Feed settings in Artifact window
- Go to Permission Tab and check role
- Edit permission for build service permission
- Git role or Contributor at least, to push the feed
- Click button Add user/groups
- select your build service and select contributor and click save button
- Update role will be like this
Go back to your Build Pipeline > Pipeline
Get Latest version at Pipeline Task
continue with Task 2: Restore-
- Let save and Queue it
- Save and Run
See the end result of pipeline
Verify Artifacts created
DevOps > Artifact