mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-10 22:54:05 -08:00
31 lines
552 B
TypeScript
31 lines
552 B
TypeScript
|
import {
|
||
|
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',
|
||
|
default: '',
|
||
|
},
|
||
|
{
|
||
|
displayName: 'Jenkins Instance URL',
|
||
|
name: 'baseUrl',
|
||
|
type: 'string',
|
||
|
default: '',
|
||
|
},
|
||
|
];
|
||
|
}
|