Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "api/build"

Index

Functions

Functions

getBuild

  • getBuild(username: string, token: string, jenkinsHost: string, buildPath: string): Promise<BuildResponse>
  • Get build details

    Parameters

    • username: string

      The username of a Jenkins user

    • token: string

      The Jenkins API token associated with the user

    • jenkinsHost: string

      The hostname of the Jenkins instance

    • buildPath: string

      The path to the build

    Returns Promise<BuildResponse>

getBuilds

  • getBuilds(username: string, token: string, jenkinsHost: string, jobName: string): Promise<BuildsResponse>
  • Get build details for a job

    Parameters

    • username: string

      The username of a Jenkins user

    • token: string

      The Jenkins API token associated with the user

    • jenkinsHost: string

      The hostname of the Jenkins instance

    • jobName: string

      The name of the job

    Returns Promise<BuildsResponse>

Generated using TypeDoc