n8n-nodes-base
Version:
Base nodes of n8n
30 lines (26 loc) • 710 B
text/typescript
/**
* 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 <a href="https://docs.n8n.io/code/expressions/">expression</a>.
*/
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>;
};