GitLab API

GitlabTool

Actions905

Overview

This node operation uploads a NuGet symbol package to a specific project in GitLab using the GitLab API. It is useful for developers who want to manage and distribute symbol packages for debugging purposes within their GitLab projects. For example, it can be used in CI/CD pipelines to automate the upload of symbol packages after a build.

Use Case Examples

  1. Uploading a NuGet symbol package to a GitLab project to enable better debugging and symbol resolution in development environments.
  2. Automating the deployment of symbol packages as part of a continuous integration workflow.

Properties

Name Meaning
Skip Authentication Whether to skip authentication for the API request.
Authentication The authentication method used for the API request, typically an API key credential.
baseUrl The base URL of the GitLab instance to which the request is sent.
Method The HTTP method used for the request, default is PUT.
Path Parameters Parameters included in the request path, specifically the project ID or URL-encoded path.

Output

JSON

  • response - The JSON response from the GitLab API after uploading the NuGet symbol package.

Dependencies

  • GitLab API authentication credential

Troubleshooting

  • Ensure the project ID provided in the path parameters is correct and accessible with the provided authentication.
  • Verify that the NuGet symbol package data in the request body is correctly formatted and meets GitLab API requirements.
  • Check network connectivity and the base URL to ensure the GitLab instance is reachable.
  • Authentication errors may occur if the API key credential is missing or invalid; ensure proper credentials are configured.

Links

Discussion