triggerBuild

fun triggerBuild(username: String, jobName: String): Boolean

Triggers a build for a Jenkins job.

Return

true if the build was triggered, false otherwise.

Parameters

username

The username of the user.

jobName

The name of the job.