GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node interacts with the GitLab API to retrieve the trace log of a specific job within a project. It is useful for developers and DevOps engineers who want to monitor or debug CI/CD pipeline jobs by accessing their execution trace logs directly from GitLab.

Use Case Examples

  1. Fetching the trace log of a CI job to diagnose why a build failed.
  2. Retrieving job execution details for auditing or reporting purposes.

Properties

Name Meaning
Skip Authentication Option to bypass authentication for the request.
Authentication Type of authentication used, defaulting to GitLab API key authentication.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the request, default is GET.
Path Parameters Parameters to specify the project ID and job ID for which the trace log is requested.

Output

JSON

  • trace - The trace log content of the specified job.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the project ID and job ID are correct and exist in the GitLab instance.
  • Verify that the API key has sufficient permissions to access job trace logs.
  • Check network connectivity to the specified GitLab base URL.
  • If skipping authentication, ensure the GitLab instance allows unauthenticated access to job traces.

Links

Discussion