Package-level declarations

Properties

Link copied to clipboard
const val CREDENTIALS: String

The ID of the jenkins credentials template.

Link copied to clipboard

The ID of the jenkins credentials domain template.

Link copied to clipboard

The ID of the jenkins freestyle job template.

Link copied to clipboard
const val JOB_MAVEN: String

The ID of the jenkins maven job template.

Link copied to clipboard

The resource cache of loaded resources, mapped by their ID.

Link copied to clipboard
const val USER_CONFIG: String

The ID of the jenkins user config template.

Functions

Link copied to clipboard

Creates a random password of the given size.

Link copied to clipboard
suspend fun filesExists(git: String, files: Iterable<String>): Boolean

Checks if any file exist in a Git Repository.

Link copied to clipboard
fun initialize(jenkins: JenkinsConfig, nexus: NexusConfig, db: DBConfig): Job

Initializes the CodeMC API.

Link copied to clipboard
suspend fun loadResources()

Loads the resources into the RESOURCE_CACHE.

Link copied to clipboard
suspend fun req(url: String, request: HttpRequest.Builder.() -> Unit = { GET() }): HttpResponse<String>

Sends an HTTP request using the HTTP Client.