Find Jobs By Scm
find_jobs_by_scmFind Jenkins jobs across instances whose last build checked out a given repository URL or org/repo fragment, with normalized https, SSH, port, and .git spellings.
Instructions
Jobs whose last build checked out a repository (app repo or Shared Library), across instances: 'job | STATUS #n | repo URL'. URL spellings are normalized (https / ssh / port / Bitbucket /scm/ / .git). ~1 request per instance. Jobs that were never built cannot be found this way.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "find_jobs_by_scm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Repository URL in any spelling (https, ssh, with .git) or a part of it like 'org/repo' | |
| folder | No | ||
| instance | No | Instance name or 'all' | all |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||