1. Prerequisites:
- Get an Azure account on https://dev.azure.com
- Have a Github account
2. Download JFrog extension by going to “Organization settings” at the end of the left side menu > Extensions > Browse Marketplace > Type ‘JFROG’
3. Create a github project with the package type that you want to test.
- You can download some of our examples here: https://github.com/jfrog/project-examples then create a private repo on your GitHub and push each project there. In this example, I’ll perform a Nuget restore.
4. Once done, head to Azure and create a project:
5. At the bottom of the left side menu, click ‘Project settings’ > ‘Service connection’. We will choose the service based on the tasks:
Please refer: https://github.com/jfrog/jfrog-azure-devops-extension
6. In this case, I’m choosing Artifactory V2 since I’m running a nuget restore job:
7. Once finished, we’ll create a pipeline:
8. Choose Classic Editor:
9. Choose Github and the repo that you just created, for example, I choose test-nuget repo:
10. Choose Empty Job:
11. Choose the task that you want to test then hit Save and Queue:
For example:
***You might encounter some permission issues. Please follow the message in the log to grant permissions.
12. Hit Run: