This integration has been tested with Woodpecker v3.19.0 using its GitHub integration. Other versions and code hosts have not been verified.
Prerequisites
- Organization Admin access in Gitar.
- A GitHub repository connected to Gitar with CI failure analysis enabled.
- A Woodpecker server reachable from Gitar over HTTPS with a valid certificate.
- A dedicated Woodpecker user that can read pipeline details and archived step logs for the repository.
Connect the server
1
Copy the Woodpecker API token
Sign in to Woodpecker as the dedicated user. Select your avatar to open User Settings, then select CLI & API. Copy the value under Personal Access Token, rather than the example command.
2
Add the server in Gitar
Open Settings > Integrations, find Woodpecker, and select Connect.
Leave Analyze failures from this server selected to enable analysis. Select Validate and save. For an enabled connection, Gitar checks that the token identifies a Woodpecker user. This does not check access to a repository’s pipeline logs. If analysis is disabled, saving skips token validation.After saving, the server appears in the connection list and the form returns to Add a server. Fill in that form again to connect another instance. While editing an existing connection, select Add another server to return to the new-server form. Each connection stores its own server URL and token.Each organization can save up to 20 Woodpecker server connections. To change a server already connected, use Edit connection.
Verify log access
Check the next failing Woodpecker pipeline reported on the PR’s latest commit. Open its status link and confirm that it identifies the expected repository and pipeline. Check the PR’s dashboard comment for Gitar’s analysis. Repeat for repositories with different access permissions. Supported links identify a pipeline, such ashttps://ci.example.com/repos/2/pipeline/17, or a workflow within it, such as https://ci.example.com/repos/2/pipeline/17/1. Include the server’s port and path, such as /woodpecker, when applicable. Use the direct link Woodpecker publishes, without extra text beginning with ? or #.
Connecting Woodpecker in Gitar does not configure pipeline reporting to GitHub. If no Woodpecker status appears on the PR, ask the Woodpecker administrator to check the repository’s GitHub integration.
Manage connections
To manage an existing server, open Settings > Integrations, find Woodpecker, and select Configure. If every connection is paused, the card button reads Connect instead and opens the same connection list.
Leave API token blank to keep the saved token when editing the same server.
Changing Server URL requires a token for the new server.
Pausing keeps the saved token and stops new failures from being accepted for analysis. A log read already in progress may finish. Disconnect removes the connection and saved token from Gitar. It does not invalidate the token in Woodpecker.
Replace or revoke the token
To replace the token in Woodpecker v3.19.0, sign in as its owner, open User Settings > CLI & API, and select Reset token. This immediately invalidates the previous token and signs you out. Other tools using that token also lose access. Sign in again, return to User Settings > CLI & API, and copy the replacement Personal Access Token. In Gitar, open Settings > Integrations > Woodpecker > Configure, select Edit connection, paste the replacement into API token, and select Validate and save. Verify log access afterward. If the account’s token is saved in several connections, update each one. To invalidate the old token without continuing the connection, disconnect it in Gitar and reset the token in Woodpecker.Failure analysis
When a pipeline fails, Gitar checks the repository and commit before reading failed-step logs. It ignores failure events for older commits after new commits arrive. Gitar uses the end of each failing step’s archived log and available configuration-error messages. A configuration error can provide useful context even when no step ran. With auto-apply enabled, Gitar can push code fixes for failures confirmed as caused by the PR. You can also commentGitar fix CI to request a fix. See CI failure analysis for fix conditions and recovery behavior.
Gitar clears resolved analysis after the relevant pipelines recover. A successful parallel workflow alone does not establish that the whole pipeline passed.
Gitar does not start or retry Woodpecker pipelines. A pushed code fix may start another pipeline if your configuration runs after a push.
Troubleshooting
Token validation fails
Token validation fails
Confirm the token belongs to the dedicated Woodpecker user. If it was reset in Woodpecker, follow Replace or revoke the token to update Gitar.Check Server URL as well as the token. A wrong address, redirect, or unreachable server can also prevent validation. Use the server’s final HTTPS address, including any port and the server’s path, such as
/woodpecker.Gitar does not analyze a failed pipeline
Gitar does not analyze a failed pipeline
Check the PR’s latest commit for a failed Woodpecker status. If it is missing, check the repository’s GitHub integration in Woodpecker. Its build link must use the same hostname, port and server path as the saved Server URL, with a supported pipeline or workflow link as shown in Verify log access.In Gitar, open Settings > Integrations > Woodpecker > Configure, edit the connection, and confirm Analyze failures from this server is selected.If validation succeeds but analysis is missing, sign in as the token’s owner and open the affected pipeline’s completed step logs. Ask the repository owner to check that account’s GitHub access if the logs are unavailable. Logs that have been deleted or were never archived cannot be retrieved.If automatic processing is disabled, follow that setting’s instructions to start Gitar. For an earlier failure, comment
Gitar fix CI to request analysis.The server is not reachable
The server is not reachable
Use the server’s final HTTPS address. Gitar does not follow redirects. Check that the certificate is valid. Browser access over a VPN does not prove that Gitar can reach the server. Contact Gitar to confirm connectivity for a private network. See Network access.