UNPKG

n8n-nodes-base

Version:

Base nodes of n8n

30 lines (26 loc) 710 B
/** * Jenkins Node - Version 1 * Discriminator: resource=job, operation=copy */ interface Credentials { jenkinsApi: CredentialReference; } /** Copy a specific job */ export type JenkinsV1JobCopyParams = { resource: 'job'; operation: 'copy'; /** * Name of the job. Choose from the list, or specify an ID using an &lt;a href="https://docs.n8n.io/code/expressions/"&gt;expression&lt;/a&gt;. */ job?: string | Expression<string>; /** * Name of the new Jenkins job */ newJob?: string | Expression<string> | PlaceholderValue; }; export type JenkinsV1JobCopyNode = { type: 'n8n-nodes-base.jenkins'; version: 1; credentials?: Credentials; config: NodeConfig<JenkinsV1JobCopyParams>; };