Azure / Azure/apiops

Using Github repository and Azure pipeline for my apiops.

Open
#625 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
448
Forks
247
PR merge metrics
No merged PRs in 30d

Description

### Release version

APIops toolkits for Azure APIM v6.0.1

### Describe the bug

I am trying to host my pipeline file in github repository and deploy it using azure pipeline. So I made use of the configuration file for azure pipeline instead. However, I cannot create my pull request after my extraction file has ran successfully. I will provide the first error screenshot I got.
![WhatsApp Image 2024-08-10 at 08 11 14_7cf6a304](https://github.com/user-attachments/assets/4172df6b-8541-4543-889a-5292826c7aaf)
That is the first error I got
So I decided to modify the extraction file to be able to create the pull request using the github repo but i came across another error.

Cloning into 'D:\a\_temp\artifacts-from-portal'...
fatal: unable to access 'https://github.com/Litera-Dev /Litera.DevOps.APIOpsTesting.git/': URL rejected: Malformed input to a URL function
d---- 8/10/2024 9:31 AM artifacts-from-portal
Cloning branch main in repository Litera.DevOps.APIOpsTesting...
Clone URL is https://oauth2:*@github.com/Litera-Dev /Litera.DevOps.APIOpsTesting.git
Cloning branch main in repository Litera.DevOps.APIOpsTesting failed.
At D:\a\_temp\27d8413b-a45c-4d7c-96a0-df53ee6395a4.ps1:27 char:28
+ … DE -ne 0) { throw "Cloning branch $sourceBranch in repository $github …
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OperationStopped: (Cloning branch main…IOpsTesting failed.:String) [], RuntimeException
+ FullyQualifiedErrorId : Cloning branch main in repository Litera.DevOps.APIOpsTesting failed.
##[debug]Exit code: 1
##[debug]Leaving Invoke-VstsTool.
##[error]PowerShell exited with code '1'.

This is the second error I came across, please do you have an idea on how i can go about this issue or maybe another file or version I could use to achieve my goal

### Expected behavior

Maybe a suggestion that will help.

### Actual behavior

If you have an extraction file that could help me use the github repo and azure pipeline and also create my pull request without any issues.

### Reproduction Steps

Non for now

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.