I am attempting to use the https://github.com/jenkinsci/job-dsl-plugin to build jobs from our GitLab repo via the GitLab API
I have it building the job correctly but cannot figure out the correct config to pass to enable the GitLabPushTrigger checkbox
job("test") {
configure { buildTriggers ->
buildTriggers/GitLabPushTrigger << 'com.dabsquared.gitlabjenkins.GitLabPushTrigger'
triggerOnMergeRequest << 'true'
triggerOnPush << 'true'
triggerOpenMergeRequestOnPush << 'true'
ciSkip << 'true'
setBuildDescription << 'true'
addNoteOnMergeRequest << 'true'
addVoteOnMergeRequest << 'true'
allowAllBranches << 'true'
}
}
}