Constructors
constructor
- new JenkinsCI(__namedParameters: { jenkinsHost: string; options: Options; token: string; username: string }): JenkinsCI
-
Parameters
-
__namedParameters: { jenkinsHost: string; options: Options; token: string; username: string }
-
jenkinsHost: string
-
-
token: string
-
username: string
Methods
getBuild
- getBuild(buildPath: string): Promise<Build>
-
Parameters
Returns Promise<Build>
getBuilds
- getBuilds(jobName: string): Promise<Builds>
-
Parameters
Returns Promise<Builds>
getJob
- getJob(jobName: string): Promise<Job>
-
Parameters
Returns Promise<Job>
getJobs
- getJobs(folderName?: undefined | string): Promise<Jobs>
-
Parameters
-
Optional folderName: undefined | string
Returns Promise<Jobs>
getUser
- getUser(user?: undefined | string): Promise<User>
-
Parameters
-
Optional user: undefined | string
Returns Promise<User>
Get the options used to create this instance