-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
Jenkins (2.228) job-dsl-plugin-1.77
Migrating from
triggers {
gitlabPush
}
to:
properties {
pipelineTriggers {
triggers {
gitlabPush
{ buildOnMergeRequestEvents(false) buildOnPushEvents(true) enableCiSkip(false) setBuildDescription(true) rebuildOpenMergeRequest('never') commentTrigger('Jenkins please retry a build') skipWorkInProgressMergeRequest(true) }
} } }
Fails with
ERROR: (unknown source) No signature of method: javaposse.jobdsl.plugin.structs.DescribableListContext.GitLabPushTrigger() is applicable for argument types: (DSLLegacyStaticPipelines$_run_closure7$_closure55$_closure61$_closure62$_closure63) values: [DSLLegacyStaticPipelines$_run_closure7$_closure55$_closure61$_closure62$_closure63@46a5bdac]
Please advise. Thanks.