Skip to content
Maua.Culturewire

Jenkins

Jobs, builds, console logs and queue

Developer toolsCatalog1 tool · 0 triggers

Managed auth

Authentication

Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.

  • API key

    Your users enter

    • Jenkins URLRequiredHTTPS URL
    • Jenkins usernameRequired
    • API tokenSecretRequired

    Where to find them

    In Jenkins: your name (top right) → “Security” (in older versions, “Configure”) → “API Token” → “Add new Token” → “Generate” and copy the token. The username is your Jenkins user ID. With an API token the CSRF crumb is not needed.

Tools (1)

  • Jenkins API requestJENKINS_SEND_REQUEST

    Authenticated call to the Jenkins API ({url}). Any endpoint of the API is allowed. Examples: GET /api/json?tree=jobs[name,color,url], GET /job/{name}/api/json?tree=lastBuild[number,result,timestamp,url], GET /job/{name}/lastBuild/consoleText, POST /job/{name}/build, POST /job/{name}/buildWithParameters?PARAM=value, GET /queue/api/json, GET /computer/api/json?tree=computer[displayName,offline]. In folders: /job/{folder}/job/{name}/….

    Required scopes

    No scopes required

    Input

    Jenkins API request input
    NameTypeDescription
    methodstringHTTP methodOne of: GET, POST, PUT, PATCH, DELETEDefault: "GET"
    pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link)
    queryobjectQuery string parameters
    bodyunknownJSON body
    formobjectBody as application/x-www-form-urlencoded instead of JSON
    body_base64stringBinary body, base64 (at most 960000 characters)
    content_typestringContent-Type of body_base64
    headersobjectExtra headers such as Accept. Authentication is added automatically.