n8n/packages/nodes-base/credentials/JenkinsApi.credentials.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
593 B
TypeScript
Raw Permalink Normal View History

import type { ICredentialType, INodeProperties } from 'n8n-workflow';
export class JenkinsApi implements ICredentialType {
name = 'jenkinsApi';
displayName = 'Jenkins API';
documentationUrl = 'jenkins';
properties: INodeProperties[] = [
{
displayName: 'Jenking Username',
name: 'username',
type: 'string',
default: '',
},
{
displayName: 'Personal API Token',
name: 'apiKey',
type: 'string',
typeOptions: { password: true },
default: '',
},
{
displayName: 'Jenkins Instance URL',
name: 'baseUrl',
type: 'string',
default: '',
},
];
}