- Restore blue PageHeader on Dashboard (/app-components) - Update homepage (/) with subtle header design without blue bar - Add uniform PageHeader styling to application edit page - Fix Rapporten link on homepage to point to /reports overview - Improve header descriptions spacing for better readability
6.4 KiB
Azure DevOps Pipeline - Repository Not Found
🔴 Probleem: "No matching repositories were found"
Als Azure DevOps je repository niet kan vinden bij het aanmaken van een pipeline, probeer deze oplossingen:
✅ Oplossing 1: Check Repository Naam
Probleem: De repository naam komt mogelijk niet overeen.
Oplossing:
-
Ga naar Repos (links in het menu)
-
Check de exacte repository naam
- Kijk naar de repository die je hebt gepusht
- Noteer de exacte naam (inclusief hoofdletters/spaties)
-
In de pipeline wizard:
- Zoek naar de repository met de exacte naam
- Of probeer verschillende variaties:
CMDB Insightcmdb-insightZuyderlandCMDBGUI
Jouw repository naam zou moeten zijn: CMDB Insight (met spaties)
✅ Oplossing 2: Check Repository Type
In de pipeline wizard, probeer verschillende repository types:
-
Azure Repos Git (als je code in Azure DevOps staat)
- Dit is waarschijnlijk wat je nodig hebt
- Check of je repository hier staat
-
GitHub (als je code in GitHub staat)
- Niet van toepassing voor jou
-
Other Git (als je code ergens anders staat)
- Niet van toepassing voor jou
Voor jouw situatie: Kies "Azure Repos Git"
✅ Oplossing 3: Check Repository Toegang
Probleem: Je hebt mogelijk geen toegang tot de repository.
Oplossing:
- Ga naar Repos (links in het menu)
- Check of je de repository ziet
- Als je de repository niet ziet, heb je mogelijk geen toegang
- Check permissions:
- Project Settings → Repositories → Security
- Check of je account toegang heeft
✅ Oplossing 4: Check Project
Probleem: Je bent mogelijk in het verkeerde project.
Oplossing:
- Check het project naam (bovenaan links)
- Moet zijn: "cmdb"
- Als je in een ander project bent:
- Klik op het project dropdown (bovenaan links)
- Selecteer "cmdb"
- Probeer opnieuw de pipeline aan te maken
✅ Oplossing 5: Refresh/Herlaad
Soms helpt een simpele refresh:
- Refresh de browser pagina (F5 of Cmd+R)
- Sluit en open opnieuw de pipeline wizard
- Probeer opnieuw
✅ Oplossing 6: Check of Repository Bestaat
Probleem: De repository bestaat mogelijk niet in Azure DevOps.
Oplossing:
- Ga naar Repos (links in het menu)
- Check of je repository zichtbaar is
- Je zou moeten zien:
CMDB Insight(of jouw repo naam)
- Je zou moeten zien:
- Als de repository niet bestaat:
- Je moet eerst de code pushen naar Azure DevOps
- Of de repository aanmaken in Azure DevOps
Check of je code al in Azure DevOps staat:
- Ga naar Repos → Files
- Je zou je code moeten zien (bijv.
azure-pipelines.yml,backend/,frontend/, etc.)
✅ Oplossing 7: Maak Repository Aan (Als Die Niet Bestaat)
Als de repository nog niet bestaat in Azure DevOps:
Optie A: Push Code naar Bestaande Repository
Als de repository al bestaat maar leeg is:
-
Check de repository URL:
git@ssh.dev.azure.com:v3/ZuyderlandMedischCentrum/cmdb/cmdb-insight -
Push je code:
cd /Users/berthausmans/Documents/Development/cmdb-insight git push azure main -
Check in Azure DevOps:
- Ga naar Repos → Files
- Je zou je code moeten zien
Optie B: Maak Nieuwe Repository Aan
Als de repository helemaal niet bestaat:
- Ga naar Repos (links in het menu)
- Klik op "New repository" of het "+" icoon
- Vul in:
- Repository name:
CMDB Insight - Type: Git
- Repository name:
- Create
- Push je code:
cd /Users/berthausmans/Documents/Development/cmdb-insight git remote add azure git@ssh.dev.azure.com:v3/ZuyderlandMedischCentrum/cmdb/cmdb-insight git push azure main
✅ Oplossing 8: Gebruik "Other Git" Als Workaround
Als niets werkt, gebruik "Other Git" als tijdelijke oplossing:
- In de pipeline wizard:
- Kies "Other Git" (in plaats van "Azure Repos Git")
- Vul in:
- Repository URL:
git@ssh.dev.azure.com:v3/ZuyderlandMedischCentrum/cmdb/cmdb-insight - Of HTTPS:
https://ZuyderlandMedischCentrum@dev.azure.com/ZuyderlandMedischCentrum/cmdb/_git/cmdb-insight
- Repository URL:
- Branch:
main - Continue
⚠️ Let op: Dit werkt, maar "Azure Repos Git" is de voorkeursoptie.
🔍 Diagnose Stappen
Om te diagnosticeren wat het probleem is:
1. Check of Repository Bestaat
- Ga naar Repos (links in het menu)
- Check of je
CMDB Insightziet - Klik erop en check of je code ziet
2. Check Repository URL
In Terminal:
cd /Users/berthausmans/Documents/Development/cmdb-insight
git remote -v
Je zou moeten zien:
azure git@ssh.dev.azure.com:v3/ZuyderlandMedischCentrum/cmdb/cmdb-insight (fetch)
azure git@ssh.dev.azure.com:v3/ZuyderlandMedischCentrum/cmdb/cmdb-insight (push)
3. Check of Code Gepusht is
In Terminal:
git log azure/main --oneline -5
Als je commits ziet: ✅ Code is gepusht
Als je een fout krijgt: ❌ Code is niet gepusht
4. Push Code (Als Niet Gepusht)
git push azure main
💡 Aanbevolen Aanpak
Probeer in deze volgorde:
- ✅ Check Repos - Ga naar Repos en check of je repository bestaat
- ✅ Check project naam - Zorg dat je in "cmdb" project bent
- ✅ Refresh pagina - Soms helpt een simpele refresh
- ✅ Push code - Als repository leeg is, push je code
- ✅ Gebruik "Other Git" - Als workaround
🎯 Quick Fix (Meest Waarschijnlijk)
Het probleem is waarschijnlijk dat de repository leeg is of niet bestaat:
-
Check in Azure DevOps:
- Ga naar Repos → Files
- Check of je code ziet (bijv.
azure-pipelines.yml)
-
Als repository leeg is:
cd /Users/berthausmans/Documents/Development/cmdb-insight git push azure main -
Probeer opnieuw de pipeline aan te maken
📚 Meer Informatie
🆘 Nog Steeds Problemen?
Als niets werkt:
- Check of je in het juiste project bent (cmdb)
- Check of de repository bestaat (Repos → Files)
- Push je code naar Azure DevOps
- Gebruik "Other Git" als workaround
De "Other Git" optie werkt altijd, ook als de repository niet wordt gevonden in de dropdown.