GitLab API

GitlabTool

Actions1000

Overview

This node operation allows updating the Bamboo service integration settings for a specific GitLab project by sending a PUT request to the GitLab API endpoint `/api/v4/projects/{id}/services/bamboo`. It is useful for automating the configuration of Bamboo CI/CD integration within GitLab projects, enabling seamless build and deployment workflows.

Use Case Examples

  1. Updating Bamboo service settings for a GitLab project with project ID 12345 to enable or modify Bamboo integration parameters.
  2. Automating the management of Bamboo integration across multiple GitLab projects in a CI/CD pipeline.

Properties

Name Meaning
Skip Authentication Option to skip API authentication for the request.
Authentication Type of authentication used for the API request, defaulting to GitLab API key authentication.
baseUrl Base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method used for the request, defaulting to GET but set to PUT for this operation.
Path Parameters Parameters to be included in the request path, specifically the project ID (`id`) for identifying the GitLab project to update.

Output

JSON

  • id - The ID of the GitLab project for which the Bamboo service integration is updated.
  • serviceStatus - Status or response details of the Bamboo service update operation.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the project ID (`id`) path parameter is correctly provided and corresponds to an existing GitLab project.
  • Verify that the API key credential has sufficient permissions to update project service integrations.
  • Check the base URL to ensure it points to the correct GitLab instance.
  • If skipping authentication, confirm that the API endpoint allows unauthenticated requests, otherwise the request will fail.

Links

Discussion