Trigger and follow builds on Jenkins
- graal Agentic Platform
- Version 0.30 (actuelle)
- Open source · Apache 2.0
- Source : graalsystems/tranibor@v0.30.1
For a project owner. Procedure connector.ci.jenkins, version 1, reviewed 2026-11-20 against the vendor’s own pages. It applies to the connector type ci/jenkins.
It ships with the platform. In the console it opens with How to set this up, beside the form that adds the connector and on the connector’s settings.
Addresses are written <api_url>, <public_url> and <org> here: the console shows the same text with your deployment’s own.
Before you start
Section intitulée « Before you start »- A Jenkins controller the platform can reach, and a job that builds the project. A plain job should be parameterised (a string parameter for the branch); a multibranch job is built on the branch itself.
- A Jenkins user for the platform, allowed to build and read that job (
Job/Build,Job/Read). - For notifications, the platform’s shared webhook secret (
TRANIBOR_GENERIC_WEBHOOK_SECRET), held by whoever operates Tranibor.
At Jenkins
Section intitulée « At Jenkins »- Create a user for the platform, then Configure, API Token, Add new Token. Copy it when it is shown.
- Optional, to be told when a build starts and ends instead of polling: install the Notification plugin and
add the endpoint
<api_url>/api/v1/webhooks/jenkins?token=<the shared webhook secret>(format JSON, protocol HTTP, events Job Started and Job Completed). A pipeline can instead post{"job", "build_number", "result", "sha", "branch", "project", "work_item"}to that URL with theX-Tranibor-Secretheader. - Name the commit in the build so the platform can find a commit’s build: a pipeline that checks out a revision records it (the SCM revision is read), or pass the commit as a build parameter.
Permissions
Section intitulée « Permissions »- The user needs
Overall/Read,Job/ReadandJob/Buildon the job, and nothing else. - An API token needs no CSRF crumb on a recent Jenkins; the connector still asks for one and goes without
when the controller has none (
crumb: falseskips the request).
In Tranibor
Section intitulée « In Tranibor »- Project settings, Connectors, CI, type Jenkins.
base_url,job(for exampleteam/app),user. Tickmultibranchfor a multibranch folder: the branch is then the last segment of the job path.token: the API token, in the password field (sealed, shown once).
Press Test: the connector reads the job and answers ok. Then trigger a build and watch it leave the
queue and finish.
When it fails
Section intitulée « When it fails »401or403: the user or token is wrong, or the user may not build the job. A403mentioning the crumb: the controller wants a crumb andcrumbis off.404on the job: check the path; a folder isfolder/app, never/job/folder/job/app.- A trigger answered
400or500: the job is not parameterised andref_parameteris set, or a required parameter is missing fromparameters. - Status stays
unknown: no recent build recorded the commit. Only the last builds of the job are read. - Notifications ignored with
401: the token in the URL is not the platform’s shared webhook secret.
| Field | What to put in it |
|---|---|
base_url |
your Jenkins controller, for example https://jenkins.example.com |
crumb |
true to ask for a CSRF crumb before a trigger (the default) |
job |
the job’s path (folder/app), or the multibranch folder |
multibranch |
true when job is a multibranch pipeline, built branch by branch |
parameters |
build parameters sent with every trigger |
ref_parameter |
the build parameter that receives the branch or tag (BRANCH by default) |
token |
the user’s API token, typed once |
user |
the Jenkins user the API token belongs to |