/** * Jenkins Node - Version 1 * Discriminator: resource=build, operation=getAll */ interface Credentials { jenkinsApi: CredentialReference; } /** List Builds */ export type JenkinsV1BuildGetAllParams = { resource: 'build'; operation: 'getAll'; /** * Name of the job. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ job?: string | Expression; /** * Whether to return all results or only up to a given limit * @default false */ returnAll?: boolean | Expression; /** * Max number of results to return * @displayOptions.show { returnAll: [false] } * @default 50 */ limit?: number | Expression; }; export type JenkinsV1BuildGetAllNode = { type: 'n8n-nodes-base.jenkins'; version: 1; credentials?: Credentials; config: NodeConfig; };