GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation updates the Jenkins integration settings for a specific GitLab group by sending a PUT request to the GitLab API endpoint `/api/v4/groups/{id}/integrations/jenkins`. It is useful for automating the configuration of Jenkins CI/CD integration within GitLab groups, allowing users to programmatically manage integration settings without manual intervention.

Use Case Examples

  1. Automatically update Jenkins integration settings for a GitLab group as part of a CI/CD pipeline setup.
  2. Modify Jenkins integration parameters for multiple GitLab groups in bulk via workflow automation.

Properties

Name Meaning
Skip Authentication Determines whether to skip API authentication for the request.
Authentication Specifies the authentication method to use, defaulting to GitLab API key authentication.
baseUrl The base URL of the GitLab instance to which the API request is sent.
Method HTTP method used for the request, default is PUT for this operation.
Path Parameters Parameters included in the request path, specifically the group ID to identify which group's Jenkins integration to update.

Output

JSON

  • statusCode - HTTP status code returned by the API after the update request.
  • responseBody - The JSON response body containing details of the updated Jenkins integration settings.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the group ID provided in path parameters is valid and exists in the GitLab instance.
  • Verify that the API key used has sufficient permissions to update group integrations.
  • Check the baseUrl to confirm it points to the correct GitLab instance.
  • If skipping authentication, ensure the endpoint allows unauthenticated access, otherwise the request will fail.

Links

Discussion