Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Synopsys detect did not support branching strategy #146

Open
AntoineTer opened this issue Apr 30, 2024 · 0 comments
Open

Synopsys detect did not support branching strategy #146

AntoineTer opened this issue Apr 30, 2024 · 0 comments

Comments

@AntoineTer
Copy link

Hello Sir ,
In synopsys-extension/synopsys-task/src/synopsys-task/model/azure.ts Line

Line 39 :AZURE_SOURCE_BRANCH: "Build.SourceBranchName" => make the Branch name did not include the folder like

feature/featurebranch became featurebranch.

Or later (in comment PR feature) you use it to request azure devops and that leade to a 404 (you request featurebranch or the name is feature/featurebranch).

The error message in you pluggin is :

2024-04-30 07:56:42.7276 UTC [Blackduck Results] INFO: Added entry to resource 'commenter.issues'
2024-04-30 07:56:42.7281 UTC [Blackduck Results] INFO: Adapter finished
2024-04-30 07:56:43.0752 UTC [Blackduck Component Locator] INFO: skipping fix pull requests creation as "blackduck.automation.fixpr" or "blackduck.fixpr.enabled" is configured to false
2024-04-30 07:56:43.1319 UTC [Blackduck Component Locator] INFO: Adapter finished
2024-04-30 07:56:43.4763 UTC [Synopsys Bridge] INFO: Starting adapters for stage azureprcomment
2024-04-30 07:56:43.4763 UTC [Synopsys Bridge] INFO: Starting Adapter: Azure Commenter
2024-04-30 07:56:43.4769 UTC [SCM Checker] INFO: Adapter finished
2024-04-30 07:56:43.9699 UTC [Azure Commenter] INFO: will use default Azure API URL "https://dev.azure.com",/ as "azure.api.url" is not configured
2024-04-30 07:56:44.1939 UTC [Azure Commenter] ERROR: Get Pull Request 'ID' of 'repo' error: TF401175:The version descriptor <Branch: featurebranch > could not be resolved to a version in the repository repo: Get the details of a pull request with differences: received unexpected response status code '404 Not Found' from Azure API
2024-04-30 07:56:44.2212 UTC [Azure Commenter] ERROR: Adapter failed: exit status 1
##[error]The process 'C:\Users\username\synopsys-bridge\synopsys-bridge.exe' failed with exit code 2
##[error]Workflow failed! Exit Code: 2 Error from adapter end

Best regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant